commands: remove policy json-schema stub
Remove stub for now so we don't ship it in a release. Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
package policy
|
||||
|
||||
import (
|
||||
"github.com/pkg/errors"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
func jsonSchemaCmd() *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "json-schema",
|
||||
Short: "Print policy JSON schema",
|
||||
Args: cobra.NoArgs,
|
||||
DisableFlagsInUseLine: true,
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
return runJSONSchema()
|
||||
},
|
||||
}
|
||||
return cmd
|
||||
}
|
||||
|
||||
func runJSONSchema() error {
|
||||
return errors.New("not implemented")
|
||||
}
|
||||
@@ -18,7 +18,7 @@ func RootCmd(rootcmd *cobra.Command, dockerCli command.Cli, rootOpts RootOptions
|
||||
}
|
||||
|
||||
cmd.AddCommand(
|
||||
jsonSchemaCmd(),
|
||||
// TODO: json-schema command
|
||||
evalCmd(dockerCli, rootOpts),
|
||||
testCmd(dockerCli, rootOpts),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user