Liking cljdoc? Tell your friends :D

Introduction to bract.cli

The bract.cli module provides the Command Line Interface (CLI) entry point features for Bract.

Commands

The provided CLI commands are implemented in the bract.cli.command namespace.

CommandImplemented byChanges to the context
runcommand-runsets :bract.core/launch? to true
dryruncommand-dryrunsets :bract.core/launch? to false
configcommand-configfinally sets :bract.core/exit? to true
replcommand-replfinally sets :bract.core/exit? to true

Context keys

Context keyValue typeDescription
:bract.cli/config-required?booleanis a config file required?
:bract.cli/commandstringthe CLI command to execute
:bract.cli/cmd-argsvector of stringarguments for the CLI command
:bract.cli/app-commandsmap of string:mapcommands to be handled by the app

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close