graphql-engine/cli/commands/scripts.go

20 lines
437 B
Go
Raw Normal View History

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),
)
return scriptsCmd
}