DDN CLI: ddn command remove
Removes Commands (and related metadata) in the local metadata.
Synopsis
Removes Commands (and related metadata) in the local metadata
ddn command remove <command-name> [flags]
Examples
# Remove all Commands using the subgraph set in current context
ddn command remove "*"
# Remove the Command "Album" in the "app" Subgraph
ddn command remove Album --subgraph ./app/subgraph.yaml
# Remove all the Commands in the Subgraph "app"
ddn command remove "*" --subgraph ./app/subgraph.yaml
# Remove Command filtered by glob pattern in the Subgraph "app"
ddn command remove "user*" --subgraph ./app/subgraph.yaml
Options
--ci Disables the use of context
-c, --context string Name of the context to use. (default <current_context>)
-h, --help help for remove
--pattern string Pattern to detect targets. Can be 'glob' or 'literal'. (default "glob")
--subgraph string Path to Subgraph config file
Options inherited from parent operations
--log-level string Log level. Can be DEBUG, WARN, INFO, ERROR, or FATAL. (default "INFO")
--no-prompt Do not prompt for required but missing flags
--out string Output format. Can be table, json or yaml. (default "table")
--timeout int Request timeout in seconds [env: HASURA_DDN_TIMEOUT] (default 100)
Parent operation
- ddn command - Perform Command related operations