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

FlagTypeDefaultDescription
--operatorstringOperator slug (required)
--parentstringParent 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.

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