Package defines a Mainf component for a command-line user interface.
CmdlineCommands and CmdlineCommandsUtils static classes.
Bases: builtins.object
Constants for command-line command names.
Command-line commands are used to invoke program operations via a command-line argument. For example: --create will invoke a backup creation.
Note
It is not allowed to change values of these constants.
Create backup for a given archive specification file.
List all archive specification files.
Purge orphaned archive data.
Bases: builtins.object
Various utility methods working with CmdlineCommands.
Iterator over all known commands.
Returns: | All options defined in CmdlineCommands. |
---|---|
Return type: | Iterable<str> |
Check whether a command with name commandName does exists in CmdlineCommandsUtils.
Parameters: | commandName (str) – Name of the command which existence shall be checked. |
---|---|
Returns: | True if option with name commandName exists; False otherwise. |
Return type: | bool |