DDN CLI: ddn project subgraph create
Create a new Subgraph in a Hasura DDN Project.
Synopsis
Create a new Subgraph in a Hasura DDN Project
ddn project subgraph create <subgraph-name> [flags]
Examples
# Create a new Subgraph "app" in a Project
ddn project subgraph create app --project pet-lion-2649
# Create a new Subgraph "app" in a Project with a description
ddn project subgraph create app --project pet-lion-2649 --description "application management APIs"
Options
--ci Disables the use of context
-c, --context string Name of the context to use. (default <current_context>)
-d, --description string (Optional) description of the subgraph
-h, --help help for create
-p, --project string DDN Project name
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 project subgraph - Manage Subgraphs in a Hasura DDN Project