rosidl_cli.cli module
- rosidl_cli.cli.add_subparsers(parser, cli_name, commands)
Create argparse subparser for each command.
The
cli_name
is used for the title and description of theadd_subparsers
function call.For each command a subparser is created.
- Parameters:
parser (
argparse.ArgumentParser
) – the parent argument parsercli_name (str) – name of the command line command to which the subparsers are being added
commands (
List[Command]
) – each of the commands contributing specific arguments
- rosidl_cli.cli.main()