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 model 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 model options)
Reports information about the model and views.
Reports information about the model and views.
(model-warnings model options)
Reports warnings about the model and views.
Reports warnings 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.
(select-elements options)
Returns the model elements selected by criteria specified in the options
.
Returns the model elements selected by criteria specified in the `options`.
(select-references options)
Returns references to the model elements selected by criteria specified in the options
.
Returns references to the model elements selected by criteria specified in the `options`.
(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