rbtools.commands.logout¶
Implementation of rbt logout.
Classes
|
Logs out of a Review Board server. |
- class rbtools.commands.logout.Logout(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:
BaseCommand
Logs out of a Review Board server.
The session cookie will be removed into from the .rbtools-cookies file. The next RBTools command you run will then prompt for credentials.
- needs_api: ClassVar[bool] = True[source]¶
Whether the command needs the API client.
If this is set, the initialization of the command will set
api_client
andapi_root
.New in version 3.0.
- Type: