cmd-ts can help you build a full command line application, with nested commands, options, arguments, and whatever you want. One of the secret sauces baked into
cmd-ts is the ability to compose parsers.
An argument parser is a simple struct with a
parse function and an optional
cmd-ts is shipped with a couple of parsers and combinators to help you build your dream command-line app.
subcommands are built using nested
command is built with
positional arguments. Here is a short parser description:
restPositionalsto read arguments by position
multioptionto read binary
multiflagto read unary
commandto compose multiple arguments into a command line app
subcommandsto compose multiple command line apps into one command line app
binaryto make a command line app a UNIX-executable-ready command