docs/docs/hasura-cli/commands/hasura_scripts_update-project-v2.mdx
Update the Hasura Project from config v1 to v2.
Update the Hasura Project from config v1 to v2 by executing the following actions:
hasura scripts update-project-v2 [flags]
Alias: update-config-v2
# Read more about v2 configuration for CLI at https://docs.hasura.io
# Update the Hasura Project from config v1 to v2
hasura scripts update-project-v2
# Update the Hasura Project from config v1 to v2 with a different metadata directory:
hasura scripts update-project-v2 --metadata-dir "metadata"
--admin-secret string admin secret for Hasura GraphQL Engine (env "HASURA_GRAPHQL_ADMIN_SECRET")
--certificate-authority string path to a cert file for the certificate authority (env "HASURA_GRAPHQL_CERTIFICATE_AUTHORITY")
--endpoint string http(s) endpoint for Hasura GraphQL Engine (env "HASURA_GRAPHQL_ENDPOINT")
-h, --help help for update-project-v2
--insecure-skip-tls-verify skip TLS verification and disable cert checking (default: false) (env "HASURA_GRAPHQL_INSECURE_SKIP_TLS_VERIFY")
--metadata-dir string (default "metadata")
--envfile string .env filename to load ENV vars from (default ".env")
--log-level string log level (DEBUG, INFO, WARN, ERROR, FATAL) (default "INFO")
--no-color do not colorize output (default: false)
--project string directory where commands are executed (default: current dir)
--skip-update-check skip automatic update check on command execution
Auto generated by spf13/cobra