Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: George Lemon <[email protected]>
  • Loading branch information
georgelemon committed Aug 4, 2023
1 parent 66785ca commit ae497c6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/bro.nim
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ else:
import kapsis/commands
import kapsis/db
import bropkg/commands/[watchCommand, cCommand,
mapCommand, astCommand, docCommand, reprCommand]
mapCommand, astCommand, docCommand, reprCommand]

App:
settings(
Expand All @@ -36,18 +36,19 @@ else:
" https://github.com/openpeeps/bro"

commands:
$ "c" `style` `output` ["min", "map"]:
$ "c" `style` `output` ["min", "map", "cache"]:
? "Compiles a stylesheet to CSS"
? style "A stylesheet path"
? min "Output minified CSS code"
? map "Build with Source Map"
? cache "Enables binary AST Caching"

--- "Development"
$ "watch" `style` `output` `delay` ["sync", "map"]:
? "Watch for changes and compile"
? style "Your main .bass file"
? output "Where to save the final CSS output"
? delay "Delay time in ms for watcher (default 550)"
? delay "Delay in miliseconds (default 550)"
? sync "Fast http server to handle CSS reload & browser syncing"
? map "Build with Source Map"

Expand All @@ -63,6 +64,7 @@ else:
--- "Documentation"
$ "doc" `style`:
? "Builds a documentation website"

else:
import bropkg/engine/[parser, compiler]
export parser, compiler

0 comments on commit ae497c6

Please sign in to comment.