ros2acceleration.verb package

Submodules

Module contents

class ros2acceleration.verb.VerbExtension

Bases: object

The extension point for ‘acceleration’ verb extensions.

The following properties must be defined: * NAME (will be set to the entry point name)

The following methods must be defined: * main

The following methods can be defined: * add_arguments

EXTENSION_POINT_VERSION = '0.1'
NAME = None
add_arguments(parser, cli_name)
main(*, args)
ros2acceleration.verb.black(text)
ros2acceleration.verb.blue(text)
ros2acceleration.verb.cyan(text)
ros2acceleration.verb.gray(text)
ros2acceleration.verb.grayinline(text)
ros2acceleration.verb.green(text)
ros2acceleration.verb.greeninline(text)
ros2acceleration.verb.magenta(text)
ros2acceleration.verb.red(text)
ros2acceleration.verb.redinline(text)
ros2acceleration.verb.run(cmd, shell=False, timeout=1)

Spawns a new processe launching cmd, connect to their input/output/error pipes, and obtain their return codes.

Parameters:

cmd – command split in the form of a list

Returns:

stdout

ros2acceleration.verb.yellow(text)
ros2acceleration.verb.yellowinline(text)