Throughwalls logothroughwalls

CLI Commands

Command reference for the Throughwalls CLI.

The tables below list the available CLI commands and their command-specific flags.

Global Flags

These flags are available on all commands:

FlagDescription
--helpShow help for a command.

Common Flags

These flags are supported by most commands.

FlagDescription
--ip <ip>IP address of the Throughwalls host.
--recover-yesAutomatically answer Y when the CLI finds an interrupted command that must be recovered.

Root Command

CommandDescription
throughwalls--versionPrint the CLI version.

Connect

CommandDescriptionFlags
throughwalls connectConnect to the Workspace.--auto-start[=true|false]: start the Workspace automatically if it is powered off.--no-qga: connect to the Workspace even when the QEMU Guest Agent is disabled. Disables the user picker prompt.-u, --workspace-username <username>: Workspace username.-p, --workspace-password <password>: Workspace password.-k, --workspace-ssh-key <path>: path to the Workspace SSH private key.-s, --workspace-ssh-passphrase <passphrase>: passphrase for the Workspace SSH key.

Goto

CommandDescriptionFlags
throughwalls goto <target>Switch to a snapshot, base, or edge.-u, --workspace-username <username>: Workspace username to use after the switch.-p, --workspace-password <password>: Workspace password to use after the switch.-k, --workspace-ssh-key <path>: Workspace SSH private key to use after the switch.-s, --workspace-ssh-passphrase <passphrase>: SSH key passphrase to use after the switch.

Snap

CommandDescriptionFlags
throughwalls snap createCreate a new snapshot of the current Workspace.--comment <comment>: snapshot comment.-n, --dry-run: show how many snapshots would be deleted if you created a snapshot now. No snapshot is created.-l, --line: used with --dry-run to show a detailed line diagram through a pager.
throughwalls snap delete <id>Delete a snapshot.--delete-yes: skip the delete confirmation prompt.

Line

CommandDescriptionFlags
throughwalls lineShow the snapshot line.None.
throughwalls line headPrint the current head position.None.

Host

CommandDescriptionFlags
throughwalls host loginLog in to the host.-P, --host-password <password>: host password.
throughwalls host password set [new-password]Set a new host password.None.

Power

CommandDescriptionFlags
throughwalls power host offShut down the host.None.
throughwalls power host rebootReboot the host.None.
throughwalls power host statusShow host power state.None.
throughwalls power workspace onStart the Workspace.None.
throughwalls power workspace offShut down the Workspace.-f, --force: use hard stop instead of graceful shutdown.
throughwalls power workspace rebootReboot the Workspace.None.
throughwalls power workspace statusShow Workspace power state.None.

Config

CommandDescriptionFlags
throughwalls config editInteractively walk through config fields.None.
throughwalls config set <key> <value>Set a single config value.None.
throughwalls config get <key>Read a single config value.None.
throughwalls config showPrint the entire config file.None.
throughwalls config pathPrint the absolute path of the config file.None.
throughwalls config unset <key>Clear a single config value.None.

Recover

CommandDescriptionFlags
throughwalls recoverRecover an interrupted command.None.

On this page