mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-27 18:11:17 +00:00
25 lines
558 B
Go
25 lines
558 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/rsteube/carapace"
|
|
"github.com/rsteube/carapace-bin/pkg/actions/docker"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var plugin_enableCmd = &cobra.Command{
|
|
Use: "enable",
|
|
Short: "Enable a plugin",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(plugin_enableCmd).Standalone()
|
|
|
|
plugin_enableCmd.Flags().String("timeout", "", "HTTP client timeout (in seconds) (default 30)")
|
|
pluginCmd.AddCommand(plugin_enableCmd)
|
|
|
|
carapace.Gen(plugin_enableCmd).PositionalCompletion(
|
|
docker.ActionPlugins(),
|
|
)
|
|
}
|