rbtools.commands.info¶
The rbt info command.
Classes
|
Display information about a review request. |
- class rbtools.commands.info.Info(transport_cls: type[Transport] = <class 'rbtools.api.transport.sync.SyncTransport'>, stdout: TextIO = <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, stderr: TextIO = <_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>, stdin: TextIO = <_io.TextIOWrapper name='<stdin>' mode='r' encoding='utf-8'>)[source]¶
Bases:
BaseCommandDisplay information about a review request.
- __firstlineno__ = 13¶
- __static_attributes__ = ()¶
- args: ClassVar[str] = '<review-request> [revision]'[source]¶
Usage text for what arguments the command takes.
Arguments for the command are anything passed in other than defined options (for example, revisions passed to rbt post).
- Type:
- description: ClassVar[str] = 'Display information about a review request.'[source]¶
A short description of the command, suitable for display in usage text.
- Type:
- main(review_request_id, diff_revision=None)[source]¶
Run the main logic of the command.
This method should be overridden to implement the commands functionality.