|
| def | __init__ (self, usage, name=None, version=None, arg_limits=None, env_options=None, logger=None, **auto_options) |
| |
| def | console (self, msg) |
| |
| def | execute (self, *arguments, **options) |
| |
| def | execute_cli (self, cli_arguments, exit=True) |
| |
| def | main (self, arguments, **options) |
| |
| def | parse_arguments (self, cli_args) |
| | Public interface for parsing command line arguments. More...
|
| |
| def | validate (self, options, arguments) |
| |
|
| def | _execute (self, arguments, options) |
| |
| def | _exit (self, rc) |
| |
| def | _parse_arguments (self, cli_args) |
| |
| def | _report_error (self, message, details=None, help=False, rc=DATA_ERROR, exit=False) |
| |
| def | _report_info (self, message) |
| |
Definition at line 26 of file application.py.
◆ __init__()
| def robot.utils.application.Application.__init__ |
( |
|
self, |
|
|
|
usage, |
|
|
|
name = None, |
|
|
|
version = None, |
|
|
|
arg_limits = None, |
|
|
|
env_options = None, |
|
|
|
logger = None, |
|
|
** |
auto_options |
|
) |
| |
◆ _execute()
| def robot.utils.application.Application._execute |
( |
|
self, |
|
|
|
arguments, |
|
|
|
options |
|
) |
| |
|
private |
◆ _exit()
| def robot.utils.application.Application._exit |
( |
|
self, |
|
|
|
rc |
|
) |
| |
|
private |
◆ _parse_arguments()
| def robot.utils.application.Application._parse_arguments |
( |
|
self, |
|
|
|
cli_args |
|
) |
| |
|
private |
◆ _report_error()
| def robot.utils.application.Application._report_error |
( |
|
self, |
|
|
|
message, |
|
|
|
details = None, |
|
|
|
help = False, |
|
|
|
rc = DATA_ERROR, |
|
|
|
exit = False |
|
) |
| |
|
private |
◆ _report_info()
| def robot.utils.application.Application._report_info |
( |
|
self, |
|
|
|
message |
|
) |
| |
|
private |
◆ console()
| def robot.utils.application.Application.console |
( |
|
self, |
|
|
|
msg |
|
) |
| |
◆ execute()
| def robot.utils.application.Application.execute |
( |
|
self, |
|
|
* |
arguments, |
|
|
** |
options |
|
) |
| |
◆ execute_cli()
| def robot.utils.application.Application.execute_cli |
( |
|
self, |
|
|
|
cli_arguments, |
|
|
|
exit = True |
|
) |
| |
◆ main()
| def robot.utils.application.Application.main |
( |
|
self, |
|
|
|
arguments, |
|
|
** |
options |
|
) |
| |
◆ parse_arguments()
| def robot.utils.application.Application.parse_arguments |
( |
|
self, |
|
|
|
cli_args |
|
) |
| |
Public interface for parsing command line arguments.
:param cli_args: Command line arguments as a list
:returns: options (dict), arguments (list)
:raises: :class:`~robot.errors.Information` when --help or --version used
:raises: :class:`~robot.errors.DataError` when parsing fails
Definition at line 71 of file application.py.
◆ validate()
| def robot.utils.application.Application.validate |
( |
|
self, |
|
|
|
options, |
|
|
|
arguments |
|
) |
| |
◆ _ap
| robot.utils.application.Application._ap |
|
private |
◆ _logger
| robot.utils.application.Application._logger |
|
private |
The documentation for this class was generated from the following file: