Skip to main content
Version: PromptQL

DDN CLI: ddn promptql-program update

Update a PromptQL program.

Synopsis

Update a PromptQL program

ddn promptql-program update <title> --from-artifact=/path/to/json/file [flags]

Examples

# Update a program with the title "sum_numbers"
ddn promptql-programs update sum_numbers --from-artifact <path-to-updated-program-json-file>

Options

    --ci                     Disables the use of context
--connector string Path to Connector YAML config file
-c, --context string Name of the context to use. (default <current_context>)
--from-artifact string Path to a JSON artifact used to update the program (required)
-h, --help help for update
--subgraph string Path to Subgraph config file
--supergraph string Path to Supergraph 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