gk workspace set
Set your default workspace
Synopsis
The set command is used to select the default workspace. This simplifies workflows by allowing commands to operate on the default workspace without requiring explicit workspace specification.
This command sets the specified workspace as the default for the gk system. Once set, any subsequent commands that require a workspace will use the default unless another workspace is explicitly specified.
To obtain the default workspace use ‘gk ws list’
gk workspace set [flags]
Examples
gk ws set <name>
Options
-h, --help help for set
Options inherited from parent commands
--json Emit machine-readable JSON on stdout (GK_OUTPUT=json sets it session-wide)
--no-telemetry Disable telemetry (OTel spans, Sentry) for this invocation
--session string (Optional) Isolate auth and cache under a named session
SEE ALSO
- gk workspace - Interact with your workspaces. Alias: ‘ws’