The bract.cli module provides the Command Line Interface (CLI) entry point features for Bract.
The provided CLI commands are implemented in the bract.cli.command namespace.
| Command | Implemented by | Changes to the context | 
|---|---|---|
| run | command-run | sets :bract.core/launch?totrue | 
| dryrun | command-dryrun | sets :bract.core/launch?tofalse | 
| config | command-config | finally sets :bract.core/exit?totrue | 
| repl | command-repl | finally sets :bract.core/exit?totrue | 
| Context key | Value type | Description | 
|---|---|---|
| :bract.cli/config-required? | boolean | is a config file required? | 
| :bract.cli/command | string | the CLI command to execute | 
| :bract.cli/cmd-args | vector of string | arguments for the CLI command | 
| :bract.cli/app-commands | map of string:map | commands to be handled by the app | 
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs | 
| ← | Move to previous article | 
| → | Move to next article | 
| Ctrl+/ | Jump to the search field |