mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-16 01:44:03 +03:00
3136ffad1b
> ### Description Update `go.mod` to allow other packages to import [v2.0.0 versions](https://blog.golang.org/v2-go-modules). ### Changelog - [x] `CHANGELOG.md` is updated with user-facing content relevant to this PR. If no changelog is required, then add the `no-changelog-required` label. ### Affected components - [x] CLI https://github.com/hasura/graphql-engine-mono/pull/1584 GitOrigin-RevId: a5d17ad20289d1cd7217763f56ef3ba6552d69c4
23 lines
591 B
Go
23 lines
591 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 Hasura metadata",
|
|
Aliases: []string{"inconsistencies", "ic"},
|
|
SilenceUsage: true,
|
|
}
|
|
|
|
metadataInconsistencyCmd.AddCommand(
|
|
newMetadataInconsistencyListCmd(ec),
|
|
newMetadataInconsistencyDropCmd(ec),
|
|
newMetadataInconsistencyStatusCmd(ec),
|
|
)
|
|
return metadataInconsistencyCmd
|
|
}
|