mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 01:33:33 +00:00
Implemented capitalize, and includeNumber (#369)
* Implemented capitalize, and includeNumber - generate passphrase. Co-authored-by: davidrenzella <david.renzella@gmail.com> * Capitalize shorthand flag * Update package.json * Remove accidental space Co-authored-by: davidrenzella <david.renzella@gmail.com> Co-authored-by: govjmal <govjmal@gmail.com>
This commit is contained in:
@@ -246,6 +246,8 @@ export class Program extends BaseProgram {
|
||||
.option('--length <length>', 'Length of the password.')
|
||||
.option('--words <words>', 'Number of words.')
|
||||
.option('--separator <separator>', 'Word separator.')
|
||||
.option('-c, --capitalize', 'Title case passphrase.')
|
||||
.option('--includeNumber', 'Passphrase includes number.')
|
||||
.on('--help', () => {
|
||||
writeLn('\n Notes:');
|
||||
writeLn('');
|
||||
|
||||
Reference in New Issue
Block a user