https://github.com/paganotoni/tailo
Tailo is a wrapper that takes care of downloading the TailwindCLI and run it.
https://github.com/paganotoni/tailo
Last synced: about 1 month ago
JSON representation
Tailo is a wrapper that takes care of downloading the TailwindCLI and run it.
- Host: GitHub
- URL: https://github.com/paganotoni/tailo
- Owner: paganotoni
- License: other
- Created: 2023-08-04T16:00:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-19T23:47:09.000Z (2 months ago)
- Last Synced: 2025-02-28T04:52:25.573Z (2 months ago)
- Language: Go
- Homepage:
- Size: 20.5 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ccamel - paganotoni/tailo - Tailo is a wrapper that takes care of downloading the TailwindCLI and run it. (Go)
README
# Tailo
Tailo is a Go wrapper for the Tailwind CSS standalone binary. It is intended to help the downloading and usage of the TailwindCSS binary.## Download
To download the Tailwind CSS binary, you can use the `download` command.```sh
// Downloading latest Tailwind CSS version
go tool tailo download// Or specifying a version
go tool tailo download -v v3.4.6 --musl// Or specifying a version and musl
go tool tailo download -v v3.4.6 --musl// OR invoke via go run
go run github.com/paganotoni/tailo/@latest download -v v3.4.6 --musl
```This removes any file at `bin/tailwind` and download the Tailwind CSS binary into `bin/tailwindcss`
## Calling the Tailwind CSS binary
If the tool is invoked with other thing than 'download' it passes the arguments to the Tailwind CSS binary. For example:
```sh
go tool tailo --input --output
go tool tailo --watch -i tailwind.css --o application.css// or via go run
go run github.com/paganotoni/tailo/@latest --watch -i tailwind.css --o application.css
```Invoking the Tailwind CSS binary assumes the binary has already been downloaded and is available in the `bin` directory.