auto-core.os.cli-opts
Parse cli options.
Proxy to tools.cli
enter
(enter cli-opts current-task)Enter task execution. No argument is required
Returns nil if ok or an exit code if an error occured.
enter-args-in-a-list
(enter-args-in-a-list cli-opts current-task argument-name arg-list)As enter, but with arguments that should be in arg-list.
argument-name and argument-desc are used to display erros.
Returns nil if ok or an exit code if an error occured.
help-options
parse-argument-list
(parse-argument-list parsed-cli-opts arg-list defined-args)parse-cli-args
(parse-cli-args cli-options)(parse-cli-args cli-args cli-options)Parse cli-args (defaulted to actual cli arguments.) with cli-options..
Returns a map with [options arguments errors summary] fields.
print-help-message
(print-help-message cli-opts current-task-name)str-to-kw
(str-to-kw s)Turn a string starting with : and turn it into an actual keyword. Returns nil otherwise