Skip to main content
Version: v2.x

Hasura CLI: connector generate-configuration

Generate Hasura Data Connector configuration for the connector given in the flag --github-repo-url.

Synopsis

Generate Hasura Data Connector configuration for the connector given in the flag --github-repo-url

hasura connector generate-configuration [flags]

Examples

# source code for the connector is at HEAD of the main branch
hasura connector generate-configuration --github-repo-url https://github.com/SandeepSamba/test-v3-connector/tree/main

# pass an argument to the generate-configuration command of the connector
hasura connector generate-configuration --github-repo-url https://github.com/SandeepSamba/test-v3-connector/tree/main --arg postgres://username:password@host:port

Options

-a, --arg string               any argument required to generate the configuration file
--github-repo-url string url of the github repo which contains connector source code
-h, --help help for generate-configuration

SEE ALSO

Auto generated by spf13/cobra