[AAE-9169] adf-cli - Change the doc and add clientId input (#7730)

* Change the doc and add input

* fix mistake
This commit is contained in:
Maurizio Vitale
2022-07-28 14:02:43 +02:00
committed by GitHub
parent 4c249c8106
commit 46420ea0b2
6 changed files with 13 additions and 8 deletions

View File

@@ -12,13 +12,14 @@ export default async function main(_args: string[]) {
.version('0.1.0')
.option('--host [type]', 'Remote environment host')
.option('--pluginName [type]', 'pluginName')
.option('--clientId [type]', 'sso client', 'alfresco')
.option('--appName [type]', 'appName ', 'Deployed appName on activiti-cloud')
.option('-p, --password [type]', 'password ')
.option('-u, --username [type]', 'username ')
.option('--ui, --uiName [type]', 'uiName', 'Deployed app UI type on activiti-cloud')
.parse(process.argv);
pluginEnv = new CheckEnv(program.host, program.username, program.password);
pluginEnv = new CheckEnv(program.host, program.username, program.password, program.clientId);
await pluginEnv.checkEnv();
if (program.pluginName === PluginTarget.processService) {