graphql-engine/cli/commands/scripts.go
hasura-bot a398d3b190 cli: support datasources
GITHUB_PR_NUMBER: 6111
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6111

Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 1f6517acfacb58c566bb5e48f74ea0dfa5c6f063
2021-01-18 17:12:09 +00:00

21 lines
469 B
Go

package commands
import (
"github.com/hasura/graphql-engine/cli"
"github.com/spf13/cobra"
)
// NewScriptsCmd returns the scripts command
func NewScriptsCmd(ec *cli.ExecutionContext) *cobra.Command {
scriptsCmd := &cobra.Command{
Use: "scripts",
Short: "Execute helper scripts to manage Hasura Projects",
SilenceUsage: true,
}
scriptsCmd.AddCommand(
newScriptsUpdateConfigV2Cmd(ec),
newUpdateMultipleSources(ec),
)
return scriptsCmd
}