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.
(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.
(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`.
(select-view-references options)Returns references to the views selected by criteria specified in the options.
Returns references to the views selected by criteria specified in the `options`.
(select-views options)Returns the views selected by criteria specified in the options.
Returns the views 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 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 |