DDN CLI: ddn codemod upgrade-context-v2-to-v3
Upgrade project's context config from v2 to v3.
Synopsis
Upgrade project's context config from v2 to v3
ddn codemod upgrade-context-v2-to-v3 --dir <project-dir> [flags]
Examples
# Upgrade context present in the current Hasura directory from v2 to v3
ddn codemod upgrade-context-v2-to-v3 --dir .
Options
--dir string The Hasura project directory (required)
-h, --help help for upgrade-context-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