Skip to content

Tailo is a wrapper that takes care of downloading the TailwindCLI and run it.

License

Notifications You must be signed in to change notification settings

paganotoni/tailo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

// 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:

go tool tailo --input <input_file> --output <output_file>
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.

About

Tailo is a wrapper that takes care of downloading the TailwindCLI and run it.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages