diff --git a/lib/commands/deploy.d.ts b/lib/commands/deploy.d.ts index 19bebc5..27cf459 100644 --- a/lib/commands/deploy.d.ts +++ b/lib/commands/deploy.d.ts @@ -8,7 +8,7 @@ export default class Deploy extends Command { password: flags.IOptionFlag; token: flags.IOptionFlag; verbose: import("@oclif/parser/lib/flags").IBooleanFlag; - userid: flags.IOptionFlag; + userId: flags.IOptionFlag; force: import("@oclif/parser/lib/flags").IBooleanFlag; update: import("@oclif/parser/lib/flags").IBooleanFlag; code: flags.IOptionFlag; diff --git a/lib/commands/deploy.js b/lib/commands/deploy.js index 4ffdd73..1505a11 100644 --- a/lib/commands/deploy.js +++ b/lib/commands/deploy.js @@ -89,7 +89,7 @@ Deploy.flags = { char: 'v', description: 'show additional details about the results of running the command', }), - userid: command_1.flags.string({ + userId: command_1.flags.string({ char: 'i', description: 'UserID to use with API token (instead of username & password)', }), diff --git a/lib/commands/watch.d.ts b/lib/commands/watch.d.ts index 227e748..1c7f4cf 100644 --- a/lib/commands/watch.d.ts +++ b/lib/commands/watch.d.ts @@ -7,7 +7,7 @@ export default class Watch extends Command { username: flags.IOptionFlag; password: flags.IOptionFlag; token: flags.IOptionFlag; - userid: flags.IOptionFlag; + userId: flags.IOptionFlag; verbose: import("@oclif/parser/lib/flags").IBooleanFlag; force: import("@oclif/parser/lib/flags").IBooleanFlag; code: flags.IOptionFlag; diff --git a/lib/commands/watch.js b/lib/commands/watch.js index ce16806..f4d7a99 100644 --- a/lib/commands/watch.js +++ b/lib/commands/watch.js @@ -64,7 +64,7 @@ Watch.flags = { char: 't', description: 'API token to use with UserID (instead of username & password)', }), - userid: command_1.flags.string({ + userId: command_1.flags.string({ char: 'i', description: 'UserID to use with API token (instead of username & password)', }), diff --git a/package-lock.json b/package-lock.json index 8656cfe..1203797 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1121,7 +1121,7 @@ } }, "@rocket.chat/apps-compiler": { - "version": "git+https://github.com/WideChat/Rocket.Chat.Apps-compiler.git#7775f630f0f55b4a1d1ad7ee6551a98b073c79b1", + "version": "git+https://github.com/WideChat/Rocket.Chat.Apps-compiler.git#a879ba4c9d84ecd501192197993ff99d6434a754", "from": "git+https://github.com/WideChat/Rocket.Chat.Apps-compiler.git#master", "requires": { "@rocket.chat/apps-engine": "git+https://github.com/WideChat/Rocket.Chat.Apps-engine.git#master", @@ -1144,7 +1144,7 @@ } }, "@rocket.chat/apps-engine": { - "version": "git+https://github.com/WideChat/Rocket.Chat.Apps-engine.git#41bdb50dd83c798796ff781fff40323b52590489", + "version": "git+https://github.com/WideChat/Rocket.Chat.Apps-engine.git#7777d4b7702500a3c2ff28aaae9fa8963dba109f", "from": "git+https://github.com/WideChat/Rocket.Chat.Apps-engine.git#master", "requires": { "adm-zip": "^0.4.9", diff --git a/src/commands/deploy.ts b/src/commands/deploy.ts index b1a7f8d..204f2e4 100644 --- a/src/commands/deploy.ts +++ b/src/commands/deploy.ts @@ -31,7 +31,7 @@ export default class Deploy extends Command { char: 'v', description: 'show additional details about the results of running the command', }), - userid: flags.string({ + userId: flags.string({ char: 'i', description: 'UserID to use with API token (instead of username & password)', }), diff --git a/src/commands/watch.ts b/src/commands/watch.ts index 88c77dc..191eecf 100644 --- a/src/commands/watch.ts +++ b/src/commands/watch.ts @@ -28,7 +28,7 @@ export default class Watch extends Command { char: 't', description: 'API token to use with UserID (instead of username & password)', }), - userid: flags.string({ + userId: flags.string({ char: 'i', description: 'UserID to use with API token (instead of username & password)', }),