Current section
Files
Jump to
Current section
Files
src/sketch_css.gleam
import argv
import glint
import sketch_css/commands/generate
/// The `main` function is used as an entrypoint for Sketch CSS. That function
/// is not meant to be used in your code, but is called when you use `gleam run`
/// from the command line.
///
/// ```
/// gleam run -m sketch_css
/// ```
pub fn main() {
glint.new()
|> glint.with_name("Sketch CSS")
|> glint.pretty_help(glint.default_pretty_help())
|> glint.add(at: ["generate"], do: generate.css())
|> glint.run(argv.load().arguments)
}