mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
c3e60aba28
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com> Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com> GitOrigin-RevId: b6909583093baac4a69296721feae149ca6a0605
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
|
|
}
|