DDN CLI: ddn connector introspect
Introspect the Connector data source to update the Connector configuration.
Synopsis
Introspect the Connector data source to update the Connector configuration
ddn connector introspect --connector <path-to-connector-config-file> [flags]
Examples
# Introspect Connector located at ./foo/my_db.connector.local.yaml
ddn connector introspect --connector ./foo/my_db.connector.local.yaml
# Introspect Connector my_db from Subgraph located at ./foo/subgraph.yaml and update DataConnectorLink
ddn connector introspect my_db --subgraph ./foo/subgraph.yaml
# Introspect Connector my_db but do not update DataConnectorLink
ddn connector introspect my_db --subgraph ./foo/subgraph.yaml --no-update-link
Options
--add-all-resources Add all Models and Commands from the updated DataConnectorLink to the local metadata
--ci Disables the use of context
--connector string Path to Connector config file
-c, --context string Name of the context to use. (default <current_context>)
-e, --env stringArray Environment variable, e.g. key=val. Can be repeated to provide multiple env vars
--env-file stringArray Path to .env file. Can be repeated to provide multiple env files
-h, --help help for introspect
--no-update-link Ignore updating DataConnectorLink in the metadata
--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 connector - Perform Connector related operations