mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 15:23:33 +00:00
2
jslib
2
jslib
Submodule jslib updated: 395ded02aa...25917faf91
@@ -37,6 +37,7 @@ export class Program extends BaseProgram {
|
||||
.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('--cleanexit', 'Exit with a success exit code (0) unless an error is thrown.')
|
||||
.option('--quiet', 'Don\'t return anything to stdout.')
|
||||
.option('--nointeraction', 'Do not prompt for interactive user input.')
|
||||
.option('--session <session>', 'Pass session key instead of reading from env.')
|
||||
@@ -58,6 +59,10 @@ export class Program extends BaseProgram {
|
||||
process.env.BW_RESPONSE = 'true';
|
||||
});
|
||||
|
||||
program.on('option:cleanexit', () => {
|
||||
process.env.BW_CLEANEXIT = 'true';
|
||||
});
|
||||
|
||||
program.on('option:nointeraction', () => {
|
||||
process.env.BW_NOINTERACTION = 'true';
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user