You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/interface/cli/commands/runtimeEnvironments/create.cmd.js
+9-8Lines changed: 9 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -44,26 +44,27 @@ const command = new Command({
44
44
},
45
45
builder: (yargs)=>{
46
46
returnyargs
47
-
.option('kubernetes-cluster',{
48
-
describe: 'kubernetes cluster name',
49
-
alias: 'kc',
47
+
.option('cluster',{
48
+
describe: 'codefresh cluster integration name',
49
+
alias: 'c',
50
50
required: true,
51
51
})
52
52
.option('namespace',{
53
53
describe: 'namespace',
54
54
alias: 'n',
55
55
default: 'codefresh',
56
56
})
57
-
.option('context',{
58
-
describe: 'set the desire kubernetes context',
57
+
.option('kube-context',{
58
+
describe: 'kubectl context name',
59
+
alias: 'kc',
59
60
})
60
-
.example('codefresh create re --kubernetes-cluster prod --namespace codefresh --context kubeCodefresh','Creating a runtime environment which configured to cluster prod and namespace codefresh');
61
+
.example('codefresh create re --cluster prod --namespace codefresh --kube-context kubeCodefresh','Creating a runtime environment which configured to cluster prod and namespace codefresh');
0 commit comments