ktm use

Use ktm use to view or switch the workspace's default product stored in .ktm.json, streamlining commands that rely on --product.

Show or switch the workspace's default product (.ktm.json)

Usage

ktm use [product-slug] [flags]

Examples

# Show the current workspace scope
ktm use

# Switch the default product
ktm use renault~mobile

Arguments

ArgumentRequired
product-slugNo

Details

Show or switch the default product recorded in the workspace's .ktm.json.

The default product fills --product on commands where it was not given (explicit flags always win). With several products configured, "ktm use" without arguments opens an interactive picker on a terminal, or prints the current scope otherwise. The scope file is discovered git-style: the nearest .ktm.json in the current directory or one of its ancestors.

Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.

What's next?

All commands

Browse the full CLI reference.

Get started

Install the CLI and authenticate.

Last updated on