From 7e7e026b813eb62e5f07f9122efcab7d7c33029b Mon Sep 17 00:00:00 2001 From: Maurizio Vitale Date: Wed, 10 Aug 2022 10:05:31 +0100 Subject: [PATCH] Add the missing options (#7758) --- lib/cli/scripts/kubectl-clean-app.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/cli/scripts/kubectl-clean-app.ts b/lib/cli/scripts/kubectl-clean-app.ts index 57805112c5..83cccaf13b 100644 --- a/lib/cli/scripts/kubectl-clean-app.ts +++ b/lib/cli/scripts/kubectl-clean-app.ts @@ -192,13 +192,16 @@ const main = async (args: ConfigArgs) => { 'adf-cli kubectl-clean-app --host "gateway_env" --modelerUsername "modelerusername" --modelerPassword "modelerpassword" --oauth "identity_env" --username "username" --password "password"') .option('-h, --host [type]', 'Host gateway') .option('-o, --oauth [type]', 'Host sso server') - .option('--clientId[type]', 'sso client') + .option('--clusterEnv [type]', 'cluster Envirorment') + .option('--clusterUrl [type]', 'cluster URL') + .option('--clientId [type]', 'sso client') .option('--devopsUsername [type]', 'username of user with ACTIVITI_DEVOPS role') .option('--devopsPassword [type]', 'password of user with ACTIVITI_DEVOPS role') .option('--modelerUsername [type]', 'username of a user with role ACTIVIT_MODELER') .option('--modelerPassword [type]', 'modeler password') .option('--rancherUsername [type]', 'rancher username') - .option('--rancherPassword [type]', 'rancher password') + .option('--rancherToken [type]', 'rancher token') + .option('--apps [type]', 'Application prefix') .option('--enableLike [boolean]', 'Enable the like for app name') .option('--intervalTime [string]', 'In case of enableLike it specify the time related to the createDate') .parse(process.argv);