1
0
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:
Luckymee
2021-09-30 01:09:32 +10:00
committed by GitHub
parent 07851bea53
commit 6ffc295be9
2 changed files with 4 additions and 0 deletions

View File

@@ -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('');