|
|
@ -46,9 +46,9 @@ func main() { |
|
|
|
Action: run.CheckTools, |
|
|
|
Action: run.CheckTools, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
// bash starts a bash shell in the context of a runnign cluster
|
|
|
|
// shell starts a shell in the context of a running cluster
|
|
|
|
Name: "bash", |
|
|
|
Name: "shell", |
|
|
|
Usage: "Start a bash subshell for a cluster", |
|
|
|
Usage: "Start a subshell for a cluster", |
|
|
|
Flags: []cli.Flag{ |
|
|
|
Flags: []cli.Flag{ |
|
|
|
cli.StringFlag{ |
|
|
|
cli.StringFlag{ |
|
|
|
Name: "name, n", |
|
|
|
Name: "name, n", |
|
|
@ -60,7 +60,7 @@ func main() { |
|
|
|
Usage: "Run a shell command in the context of the cluster", |
|
|
|
Usage: "Run a shell command in the context of the cluster", |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
Action: run.Bash, |
|
|
|
Action: run.Shell, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
// create creates a new k3s cluster in docker containers
|
|
|
|
// create creates a new k3s cluster in docker containers
|
|
|
|