mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
23 lines
588 B
Go
23 lines
588 B
Go
|
package commands
|
||
|
|
||
|
import (
|
||
|
"github.com/hasura/graphql-engine/cli"
|
||
|
"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
|
||
|
}
|