1
0
mirror of https://github.com/bitwarden/directory-connector synced 2025-12-18 09:13:28 +00:00

Bump jslib (#108)

This commit is contained in:
Oscar Hinton
2021-04-07 20:42:39 +02:00
committed by GitHub
parent ffca14cb5f
commit 2ead70e434
6 changed files with 11 additions and 14 deletions

View File

@@ -34,14 +34,14 @@ export class Program extends BaseProgram {
super(main.userService, writeLn);
}
run() {
async run() {
program
.option('--pretty', 'Format output. JSON is tabbed with two spaces.')
.option('--raw', 'Return raw output instead of a descriptive message.')
.option('--response', 'Return a JSON formatted version of response output.')
.option('--quiet', 'Don\'t return anything to stdout.')
.option('--nointeraction', 'Do not prompt for interactive user input.')
.version(this.main.platformUtilsService.getApplicationVersion(), '-v, --version');
.version(await this.main.platformUtilsService.getApplicationVersion(), '-v, --version');
program.on('option:pretty', () => {
process.env.BW_PRETTY = 'true';