aclii command line manual
A toolkit for aclii (Anti Command Line Interface Interface)
aclii, The toolkit for abstract command line interface interface This command line tool takes a simple descriptive configuration file and generates a command line option parser for bash, a completion script, and other useful tools.
(This command itself will show help and quit. Use subcommands for actions.)
aclii [--file (path to config file)] [--verbose]
--file (default: "./aclii.yml") Specify the file path to your aclii config file (aclii.yml)
--verbose
Put aclii artifacts into specified place.
Writes artifacts based on the config file to the specified file. Writing to the file is automatically aborted if an error occurs or if a problem is found in the deliverable. For general use, this put command should be used.
(This command itself will show help and quit. Use subcommands for actions.)
aclii put
Put an auto generated launcher If specified file already exists, aclii will replace the content with new version.
aclii put launcher target-file(file)
File path to be put/replaced newly rendered aclii launcher
Put an auto generated completion script. If specified file already exists, aclii will replace the content with new version.
aclii put completion [--target (target)] target-file(file)
File path to be put/replaced newly rendered aclii auto-completion script
--target <completionTarget(bash|zsh)> (default: "bash")
Put an auto generated arg parser for bash scripts, If specified file already exists, aclii will replace the content with new version.
aclii put parser target-file(file)
File path to be put/replaced newly rendered arg parser
Put a manual file in markdown format
aclii put manual target-file(file)
File path to be put/replaced newly rendered manual markdown file
Render bash scripts generated from yaml config file. See sub commands for details.
Render generated contents to STDOUT, for testing. You can choose one of sub command from the list.
(This command itself will show help and quit. Use subcommands for actions.)
aclii render
Render and print bash auto-completion script to STDOUT.
aclii render completion [--target (target)]
--target <completionTarget(bash|zsh)> (default: "bash")
Render and print bash script to launch other program to STDOUT.
aclii render launcher
Render and print rendered bare commandline parser, for testing.
aclii render parser
Render and print manual of entire commands, in markdown format.
aclii render manual
Sub commands of this playgrond do nothing but just echo the command line inputs as parsed JSON, as main program would receive.
The subcommands under playground contain command line parsing and inline scripting demos for the launcher.
(This command itself will show help and quit. Use subcommands for actions.)
aclii playground
Eat all args into .argv
. This is default behavior for commands which have no sub commands.
aclii playground hungry genre(foodgenre) food(string)...
Select genre you want to...
Raise error if non optional values ( started by dash(es) ) are related.
aclii playground stuffed
Inline script demo. You can implement any script in aclii file and execute it instead of main program.
aclii playground run-ls-script
render completion script for aclii
Prints completion scripts of aclii itself.
aclii aclii-completion [--target (target)]
--target <completionTarget(bash|zsh)> (default: "bash")