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