ktm collections list
Use the ktm collections list command to view direct child collections of a specified parent UID within an operator scope.
List sub-collections under a parent UID
Usage
ktm collections list [flags]
Examples
ktm collections list --operator my-op --parent <tests_root_uid>
ktm collections list --operator my-op --parent <uid> -o table
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--operator | string | Operator slug (required) | |
--parent | string | Parent collection UID (required) |
Details
List the direct children of a collection (flat array; this listing is not paginated).
Collections are operator-scoped. Start from a product's tests_root_collection_uid (for the test tree) or an operator's dashboards_root_collection_uid (for the dashboard tree) and drill down.
Related
Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.
What's next?
Last updated on