graphql-engine/cli/commands/scripts.go
Aravind K P 3136ffad1b cli: update go.mod
>

### Description
Update `go.mod` to allow other packages to import [v2.0.0 versions](https://blog.golang.org/v2-go-modules).

### Changelog

- [x] `CHANGELOG.md` is updated with user-facing content relevant to this PR. If no changelog is required, then add the `no-changelog-required` label.

### Affected components

- [x] CLI

https://github.com/hasura/graphql-engine-mono/pull/1584

GitOrigin-RevId: a5d17ad20289d1cd7217763f56ef3ba6552d69c4
2021-06-16 11:45:07 +00:00

21 lines
472 B
Go

package commands
import (
"github.com/hasura/graphql-engine/cli/v2"
"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
}