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
| Argument | Required |
|---|---|
id | Yes |
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.
Related
Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.
What's next?
Last updated on