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_nameis used for the title and description of theadd_subparsersfunction 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() str | Signals | Any