cli.host¶
otto host — run commands, transfer files, and log in to lab hosts.
Commands are synthesised dynamically from @cli_exposed methods on the
resolved host’s class — see otto.cli.expose.
- otto.cli.host.main(ctx: ~typer.models.Context, host_id: ~typing.Annotated[str, <typer.models.ArgumentInfo object at 0x7f8bbeaff340>] = '', hop: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7f8bbeafff70>] = '', term: ~types.Annotated[str | None, <typer.models.OptionInfo object at 0x7f8bbeaff670>] | None = None, transfer: ~types.Annotated[str | None, <typer.models.OptionInfo object at 0x7f8bbeaff490>] | None = None, list_hosts: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f8bbeafd8a0>] = False) None¶