waft.cli.config module

waft.cli.config.add_proxy(name: ~typing.Annotated[str, <typer.models.ArgumentInfo object at 0x7f7859025050>], username: ~typing.Annotated[str, <typer.models.ArgumentInfo object at 0x7f7859025150>], hostname: ~typing.Annotated[str, <typer.models.ArgumentInfo object at 0x7f7859025210>], config: ~typing.Annotated[~pathlib.Path | None, <typer.models.OptionInfo object at 0x7f785a2b2010>] = None)

Add a proxy to the config.

waft.cli.config.add_system(name: ~typing.Annotated[str, <typer.models.ArgumentInfo object at 0x7f7859024b50>], username: ~typing.Annotated[str, <typer.models.ArgumentInfo object at 0x7f7859f2ac90>], hostname: ~typing.Annotated[str, <typer.models.ArgumentInfo object at 0x7f7859024c90>], platform: ~typing.Annotated[~waft.cli.annotations.PlatformChoice | None, <typer.models.OptionInfo object at 0x7f7859025010>] = None, config: ~typing.Annotated[~pathlib.Path | None, <typer.models.OptionInfo object at 0x7f785a2b2010>] = None)

Add a system to the config.

waft.cli.config.create_group(name: ~typing.Annotated[str, <typer.models.ArgumentInfo object at 0x7f7859025850>], systems: ~typing.Annotated[list[str], <typer.models.OptionInfo object at 0x7f78599f7e90>], config: ~typing.Annotated[~pathlib.Path | None, <typer.models.OptionInfo object at 0x7f785a2b2010>] = None)

Create a group of systems in the config.

waft.cli.config.remove_group(name: ~typing.Annotated[str, <typer.models.ArgumentInfo object at 0x7f7859025a10>], config: ~typing.Annotated[~pathlib.Path | None, <typer.models.OptionInfo object at 0x7f785a2b2010>] = None)

Delete a group from the config.

waft.cli.config.remove_proxy(name: ~typing.Annotated[str, <typer.models.ArgumentInfo object at 0x7f7859025690>], config: ~typing.Annotated[~pathlib.Path | None, <typer.models.OptionInfo object at 0x7f785a2b2010>] = None)

Remove a proxy from the config.

waft.cli.config.remove_system(name: ~typing.Annotated[str, <typer.models.ArgumentInfo object at 0x7f7859025490>], config: ~typing.Annotated[~pathlib.Path | None, <typer.models.OptionInfo object at 0x7f785a2b2010>] = None)

Remove a system from the config.

waft.cli.config.show_config(json_output: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f78590248d0>] = False, config: ~typing.Annotated[~pathlib.Path | None, <typer.models.OptionInfo object at 0x7f785a2b2010>] = None)

Show systems and groups currently defined in config.

waft.cli.config.where()

Print the path to the current config file and open the folder in the default file manager.