Skip to main content

diagrid component list

List components

Description

List information about available components in a project

diagrid component list [flags]

Examples


# List components for a project
diagrid component list --project my-project

# List components of a specific type
diagrid component list --project my-project --type pubsub

# List components scoped to a set of App IDs
diagrid component list --project my-project --scope app-a,app-b

# List components backing a specific resource
diagrid component list --project my-project --target my-pubsub

Options

-p, --project string Name of existing project
-o, --output string Output format, supported [table, yaml, json] (default "table")
-t, --type string Filter by component type (e.g., pubsub, state, bindings)
--scope strings Filter by App IDs scoped to the component (comma-separated)
--target string Filter by the target resource name (e.g., the KV store or pub/sub broker the component backs)
-w, --wait Wait for long-running resource operation to finish
--all List all component types (default true)
-h, --help help for list

Options inherited from parent commands

--api-key string Diagrid Cloud API key

SEE ALSO