mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
bb63d7e60e
Co-authored-by: Rishichandra Wawhal <rishichandra.wawhal@gmail.com> Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com> Co-authored-by: Aravind <aravindkp@outlook.in> Co-authored-by: Anon Ray <ecthiender@users.noreply.github.com> Co-authored-by: Shahidh K Muhammed <muhammedshahid.k@gmail.com>
20 lines
437 B
Go
20 lines
437 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),
|
|
)
|
|
return scriptsCmd
|
|
}
|