Skip to main content
Version: 0.6.10

Utility Commands

swcli gc​

swcli [GLOBAL OPTIONS] gc [OPTIONS]

gc clears removed projects, models, datasets, and runtimes according to the internal garbage collection policy.

OptionRequiredTypeDefaultsDescription
--dry-runNBooleanFalseIf true, outputs objects to be removed instead of clearing them.
--yesNBooleanFalseBypass confirmation prompts.

swcli check​

swcli [GLOBAL OPTIONS] check

Check if the external dependencies of the swcli command meet the requirements. Currently mainly checks Docker and Conda.

swcli completion install​

swcli [GLOBAL OPTIONS] completion install <SHELL_NAME>

Install autocompletion for swcli commands. Currently supports bash, zsh and fish. If SHELL_NAME is not specified, it will try to automatically detect the current shell type.

swcli config edit​

swcli [GLOBAL OPTIONS] config edit

Edit the Starwhale configuration file at ~/.config/starwhale/config.yaml.

swcli ui​

swcli [GLOBAL OPTIONS] ui <INSTANCE>

Open the web page for the corresponding instance.