mirror of
https://github.com/k3s-io/k3s.git
synced 2026-02-03 20:39:49 -05:00
* Bump rootlesskit tov 1.1.1, last of the v1 line * Migrate to urfavecli v2 * Disable StringSlice seperattion Signed-off-by: Derek Nola <derek.nola@suse.com>
14 lines
268 B
Go
14 lines
268 B
Go
package cmds
|
|
|
|
import (
|
|
"github.com/urfave/cli/v2"
|
|
)
|
|
|
|
func NewKubectlCommand(action func(*cli.Context) error) *cli.Command {
|
|
return &cli.Command{
|
|
Name: "kubectl",
|
|
Usage: "Run kubectl",
|
|
SkipFlagParsing: true,
|
|
Action: action,
|
|
}
|
|
}
|