cli.main
-
otto.cli.main.version_callback(version: bool)
-
otto.cli.main.clear_autocomplete_cache_callback(value: bool) → None
-
otto.cli.main.list_labs_callback(value: bool)
-
otto.cli.main.log_level_callback(value: str)
-
otto.cli.main.main(ctx: ~typer.models.Context, labs: ~typing.Annotated[list[str], <typer.models.OptionInfo object at 0x7fcc40b7bc70>] = [], xdir: ~pathlib.Annotated[~pathlib.Path, <typer.models.OptionInfo object at 0x7fcc40b79d50>] = PosixPath('.'), debug: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7fcc40b7ae90>] = False, log_days: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7fcc40b7af80>] = 30, log_level: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7fcc40b7b100>] = 'INFO', rich_log_file: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7fcc40b79b40>] = False, verbose: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7fcc40b7a1d0>] = False, list_labs: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7fcc40b7bfd0>] = False, show_lab: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7fcc40b792d0>] = False, list_hosts: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7fcc40b79090>] = False, dry_run: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7fcc40b7b880>] = False, version: ~types.Annotated[bool | None, <typer.models.OptionInfo object at 0x7fcc40b7b940>] | None = None, clear_autocomplete_cache: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7fcc40b7a590>] = False, as_user: ~types.Annotated[str | None, <typer.models.OptionInfo object at 0x7fcc40b7ae30>] | None = None, skip_reservation_check: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7fcc40b79450>] = False)