Functions for the command line interface of overarch.
Functions for the command line interface of overarch.
(-main & args)
Main function as CLI entry point.
Main function as CLI entry point.
(dispatch options)
Dispatch on options
to the requested actions.
Dispatch on `options` to the requested actions.
(error-msg errors)
Returns a message containing the parsing errors.
Returns a message containing the parsing errors.
Contains the supported render formats.
Contains the supported render formats.
(handle options)
Handle the options
and generate the requested outputs.
Handle the `options` and generate the requested outputs.
(model-info options)
Reports information about the model and views.
Reports information about the model and views.
(print-sprite-mappings)
(print-sprite-mappings sprite-mappings)
Prints the given list of the sprite mappings.
Prints the given list of the sprite mappings.
Contains the supported render formats.
Contains the supported render formats.
(update-and-dispatch! options)
Read models and export the data according to the given options
.
Read models and export the data according to the given `options`.
(usage-msg summary)
(usage-msg name summary)
(usage-msg name description summary)
Returns a message containing the program usage.
Returns a message containing the program usage.
(validate-args args cli-opts)
Validate command line arguments args
according to the given cli-opts
.
Either returns a map indicating the program should exit
(with an error message and optional success status), or a map
indicating the options provided.
Validate command line arguments `args` according to the given `cli-opts`. Either returns a map indicating the program should exit (with an error message and optional success status), or a map indicating the options provided.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close