mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
dece69c5a9
Co-authored-by: Aravind Shankar <face11301@gmail.com> Co-authored-by: Shahidh K Muhammed <muhammedshahid.k@gmail.com>
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
|
|
}
|