graphql-engine/cli/commands/metadata_inconsistency.go
Rob Dominguez 880182c805 docs: improve Long values for CLI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7399
GitOrigin-RevId: 6e848f6eae2e5418c386f814623c122646db12c7
2022-12-30 03:52:33 +00:00

24 lines
857 B
Go

package commands
import (
"github.com/hasura/graphql-engine/cli/v2"
"github.com/spf13/cobra"
)
func newMetadataInconsistencyCmd(ec *cli.ExecutionContext) *cobra.Command {
metadataInconsistencyCmd := &cobra.Command{
Use: "inconsistency",
Short: "Manage inconsistent objects in the Hasura Metadata",
Long: "This command, when used with subcommands, can be used to manage inconsistent objects in Hasura metadata. Options include:\n\n `hasura metadata inconsistency list`, `hasura metadata inconsistency delete`, `hasura metadata inconsistency status`",
Aliases: []string{"inconsistencies", "ic"},
SilenceUsage: true,
}
metadataInconsistencyCmd.AddCommand(
newMetadataInconsistencyListCmd(ec),
newMetadataInconsistencyDropCmd(ec),
newMetadataInconsistencyStatusCmd(ec),
)
return metadataInconsistencyCmd
}