Skip to main content
Version: v3.x

DDN CLI: ddn connector-link add-resources

Add all models, commands and relationships from a DataConnectorLink's schema.

Synopsis

Add all models, commands and relationships from a DataConnectorLink's schema

ddn connector-link add-resources <connector-link-name> [flags]

Examples

# Add all models, commands and relationships from the schema of DataConnectorLink 'mydb' for Subgraph config 'app'
ddn connector-link add-resources mydb --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 add-resources
--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