tailwind
Contains all the functions necessary to install and execute the TailwindCSS CLI.
Functions
pub fn get_args() -> Result(List(String), String)
Fetches the argument list from the gleam.toml
.
Public because it’s needed in tailwind/run
.
pub fn install() -> Result(Nil, String)
Downloads the TailwindCSS CLI matching your operating system and architecture.
pub fn install_and_run(
args: List(String),
) -> Result(String, String)
Installs and then executes the TailwindCSS CLI with the passed arguments.
Check install()
and run()
.