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.
(find-elements criteria)Returns the elements selected by the criteria.
Searches transitively, if specified in the criteria.
Returns the elements selected by the `criteria`. Searches transitively, if specified in the criteria.
(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 given model and views.
Reports information about the given `model` and views.
(model-warnings model options)Reports warnings about the given model and views.
Reports warnings about the given `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.
The warning printed when the deprecated render format option is used.
The warning printed when the deprecated render format option is used.
(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.
(warn-deprecated-render-format options)Prints a deprecation warning to stderr, if the render format option is set in options.
Prints a deprecation warning to stderr, if the render format option is set in `options`.
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 |