Skip to main content
Version: v3.x

DDN CLI: ddn codemod upgrade-project-config-v2-to-v3

Upgrade project directory from version v2 to v3.

Synopsis

Upgrade project directory from version v2 to v3

ddn codemod upgrade-project-config-v2-to-v3 --dir <project-dir> [flags]

Examples

# Upgrade project in the current directory from v2 to v3
ddn codemod upgrade-project-config-v2-to-v3 --dir .

Options

    --dir string   The Hasura project directory (required)
-h, --help help for upgrade-project-config-v2-to-v3

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 codemod - Perform transformations on your Hasura project directory