ktm reusables get

Get a reusable's full definition (rejects non-reusable test ids)

Get a reusable's full definition (rejects non-reusable test ids)

Usage

ktm reusables get <id> [flags]

Examples

ktm reusables get 117
ktm reusables get 117 -o json | jq '{id, name, kind, reused_by}'

Arguments

ArgumentRequired
idYes

Details

Fetches the full test definition for a reusable (kind=2). If the id points to a regular test (kind=1), the command errors and suggests 'ktm tests inspect' instead. Use this to view actions, variables, and embedded reusables before editing.

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