ConvertArgs
- class lib.cli.args_extract_convert.ConvertArgs(subparser: _SubParsersAction | None, command: str, description: str = 'default')
Bases:
ExtractConvertArgsCreates the command line arguments for conversion.
This class inherits base options from
ExtractConvertArgswhere arguments that are used for both Extract and Convert should be placed.Commands explicit to Convert should be added in
get_optional_arguments()Methods Summary
Returns the argument list for shared Extract and Convert arguments.
get_info()The information text for the Convert command.
Returns the argument list unique to the Convert command.
Methods Documentation
- Parameters:
subparser (_SubParsersAction | None)
command (str)
description (str)
- static get_argument_list() list[dict[str, Any]]
Returns the argument list for shared Extract and Convert arguments.
- Returns:
The list of command line options for the given Extract and Convert
- Return type:
list
- static get_info() str
The information text for the Convert command.
- Returns:
The information text for the Convert command.
- Return type:
str
- static get_optional_arguments() list[dict[str, Any]]
Returns the argument list unique to the Convert command.
- Returns:
The list of optional command line options for the Convert command
- Return type:
list
- static get_info() str
The information text for the Convert command.
- Returns:
The information text for the Convert command.
- Return type:
str
- static get_optional_arguments() list[dict[str, Any]]
Returns the argument list unique to the Convert command.
- Returns:
The list of optional command line options for the Convert command
- Return type:
list