command_creator

The command creator package provides a simple way to create command-line tools using Python’s argparse library and dataclasses.

Functions

arg([help, abrv, choices, metavar, ...])

Create a command-line argument

Classes

CmdArgument(help, abrv, choices, metavar, ...)

Class which represents a command-line argument

Command(sub_command)

Class which represents a command-line command

CompleterArgs

Exceptions

InvalidArgumentError

Error raised when an invalid argument is passed to a command