mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
880182c805
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7399 GitOrigin-RevId: 6e848f6eae2e5418c386f814623c122646db12c7
24 lines
857 B
Go
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
|
|
}
|