Hide deprecated command "dagger compute"
Signed-off-by: Solomon Hykes <solomon@dagger.io>
This commit is contained in:
parent
d3f3799976
commit
668d6ae23f
@ -21,9 +21,10 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var computeCmd = &cobra.Command{
|
var computeCmd = &cobra.Command{
|
||||||
Use: "compute CONFIG",
|
Use: "compute CONFIG",
|
||||||
Short: "Compute a configuration",
|
Short: "Compute a configuration (DEPRECATED)",
|
||||||
Args: cobra.ExactArgs(1),
|
Args: cobra.ExactArgs(1),
|
||||||
|
Hidden: true,
|
||||||
PreRun: func(cmd *cobra.Command, args []string) {
|
PreRun: func(cmd *cobra.Command, args []string) {
|
||||||
// Fix Viper bug for duplicate flags:
|
// Fix Viper bug for duplicate flags:
|
||||||
// https://github.com/spf13/viper/issues/233
|
// https://github.com/spf13/viper/issues/233
|
||||||
|
Reference in New Issue
Block a user