graphql-engine/cli/commands/metadata_inconsistency.go

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
591 B
Go
Raw Normal View History

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 Hasura metadata",
Aliases: []string{"inconsistencies", "ic"},
SilenceUsage: true,
}
metadataInconsistencyCmd.AddCommand(
newMetadataInconsistencyListCmd(ec),
newMetadataInconsistencyDropCmd(ec),
newMetadataInconsistencyStatusCmd(ec),
)
return metadataInconsistencyCmd
}