Skip to main content
Version: v3.x (DDN)

DDN CLI: ddn run

Run specific script from project's context config.

Synopsis

Run custom scripts defined in project's context config (typically at <project-root>/.hasura/context.yaml)

ddn run <script-name> [flags] [-- <args>]

Examples

# Run script `docker-start` defined in project's context config
ddn run docker-start

# Run script `docker-start` defined in project's context config in detached mode
ddn run docker-start -- -d

Options

-h, --help   help for run

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 - DDN Command Line Interface