ros2interface.verb.show module

class ros2interface.verb.show.InterfaceTextLine(pkg_name: str, msg_name: str, line_text: str)

Bases: object

A convenience class for a single text line in an interface file.

is_comment() bool
is_trailing_comment() bool
property nested_type: str | None
property trailing_comment: str | None
class ros2interface.verb.show.ReadStdinPipe(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)

Bases: Action

Get argument from stdin pipe.

class ros2interface.verb.show.ShowVerb

Bases: VerbExtension

Output the interface definition.

add_arguments(parser, cli_name)
main(*, args)