mirror of
https://github.com/k3s-io/k3s.git
synced 2026-04-15 14:29:44 -04:00
17 lines
230 B
Go
17 lines
230 B
Go
package crictl
|
|
|
|
import (
|
|
"os"
|
|
"runtime"
|
|
|
|
"github.com/urfave/cli"
|
|
"sigs.k8s.io/cri-tools/cmd/crictl"
|
|
)
|
|
|
|
func Run(ctx *cli.Context) error {
|
|
if runtime.GOOS == "windows" {
|
|
os.Args = os.Args[1:]
|
|
}
|
|
crictl.Main()
|
|
return nil
|
|
}
|