Skip to main content

Workspace Commands

In this section, you will learn more about the Workspace's commands.


CommandDescription
stk exit workspaceTerminates the active session in a Workspace.
stk use workspaceAccesses a Workspace.
stk list workspaceLists all Workspaces available to your account.

stk exit workspace

The stk exit workspace command ends the active session in a Workspace. After running this command, all subsequent actions will only have local scope on your machine.

Usage

stk exit workspace

stk use workspace

The stk use workspace command allows you to access a workspace. To access the available Workspaces, you must first log in to the STK CLI using the stk login command.

Usage

stk use workspace [NAME]
info

To switch Workspaces, run the stk use workspace command again and specify the name of the Workspace you want to use.

Parameters

OptionDescriptionExample
NAMEThe name of the Workspace that you want to access. If you do not specify a name, a list of available Workspaces will be displayed in the terminal, and you can choose one to use.
stk use workspace my-workspace-slug
-h, --helpDisplays the command help and exits.
stk use workspace --help

stk list workspace

The stk list workspace command lists a table of all Workspaces available to your account. To view the Workspaces, you must first log in to the STK CLI using the stk login command.

Usage

stk list workspace