rosidl_cli.cli module

rosidl_cli.cli.add_subparsers(parser: ArgumentParser, cli_name: str, commands: List[GenerateCommand | HashCommand | TranslateCommand]) _SubParsersAction

Create argparse subparser for each command.

The cli_name is used for the title and description of the add_subparsers function call.

For each command a subparser is created.

Parameters:
  • parser (argparse.ArgumentParser) – the parent argument parser

  • cli_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() str | Signals | Any