mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-22 23:51:16 +00:00
23 lines
510 B
Go
23 lines
510 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/rsteube/carapace"
|
|
"github.com/rsteube/carapace-bin/pkg/actions/tools/docker"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var config_rmCmd = &cobra.Command{
|
|
Use: "rm CONFIG [CONFIG...]",
|
|
Short: "Remove one or more configs",
|
|
Aliases: []string{"remove"},
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(config_rmCmd).Standalone()
|
|
|
|
configCmd.AddCommand(config_rmCmd)
|
|
|
|
carapace.Gen(config_rmCmd).PositionalAnyCompletion(docker.ActionConfigs())
|
|
}
|