mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
a398d3b190
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
21 lines
469 B
Go
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
|
|
}
|