keepassxc/src/cli
louib eb1882453f CLI password generation options cleanup (#3275)
Summary of changes:
* Extract function for creating password generator from options into
`Generate` command. This function is now reused in `Add` and `Edit`
commands.
* Updated manpage with missing password generation options.
* Updated manpage with missing longer forms of password generation options.
* Added unit tests for new password generation options in `Add` and
`Edit`.
* Handle case when `-g` and `-p` options are used at the same time.

This PR adds password generation functionalities while reducing
code duplication, but at the cost of 2 small breaking changes:
* The password generation option for `Add` and `Edit` for specifying
password length is now `-L` instead of `-l`, to not clash with the
`-l --lower` option.
* The `-u` shorthand for the `--upper` option has to be removed, to not
clash with the `-u --username` option.
* Add -U variant for uppercase.
2019-08-30 22:50:32 -04:00
..
Add.cpp CLI password generation options cleanup (#3275) 2019-08-30 22:50:32 -04:00
Add.h Clean up code (#3431) 2019-08-19 21:19:32 +02:00
Analyze.cpp Move notes to General tab on Group Preview Panel (#3336) 2019-06-28 21:48:25 -04:00
Analyze.h CLI: add 'analyze' subcommand for offline HIBP breach checks 2019-06-25 15:37:40 -04:00
Clip.cpp Clean up code (#3431) 2019-08-19 21:19:32 +02:00
Clip.h Clean up code (#3431) 2019-08-19 21:19:32 +02:00
CMakeLists.txt CLI: add 'analyze' subcommand for offline HIBP breach checks 2019-06-25 15:37:40 -04:00
Command.cpp Clean up code (#3431) 2019-08-19 21:19:32 +02:00
Command.h CLI Command cleanup 2019-06-14 18:15:38 -04:00
Create.cpp Clean up code (#3431) 2019-08-19 21:19:32 +02:00
Create.h Clean up code (#3431) 2019-08-19 21:19:32 +02:00
DatabaseCommand.cpp CLI Command cleanup 2019-06-14 18:15:38 -04:00
DatabaseCommand.h CLI Command cleanup 2019-06-14 18:15:38 -04:00
Diceware.cpp Clean up code (#3431) 2019-08-19 21:19:32 +02:00
Diceware.h Clean up code (#3431) 2019-08-19 21:19:32 +02:00
Edit.cpp CLI password generation options cleanup (#3275) 2019-08-30 22:50:32 -04:00
Edit.h Clean up code (#3431) 2019-08-19 21:19:32 +02:00
Estimate.cpp Clean up code (#3431) 2019-08-19 21:19:32 +02:00
Estimate.h Clean up code (#3431) 2019-08-19 21:19:32 +02:00
Extract.cpp Clean up code (#3431) 2019-08-19 21:19:32 +02:00
Extract.h Clean up code (#3431) 2019-08-19 21:19:32 +02:00
Generate.cpp CLI password generation options cleanup (#3275) 2019-08-30 22:50:32 -04:00
Generate.h CLI password generation options cleanup (#3275) 2019-08-30 22:50:32 -04:00
keepassxc-cli.1 CLI password generation options cleanup (#3275) 2019-08-30 22:50:32 -04:00
keepassxc-cli.cpp Code formatting 2019-05-19 18:21:34 -04:00
List.cpp Clean up code (#3431) 2019-08-19 21:19:32 +02:00
List.h Clean up code (#3431) 2019-08-19 21:19:32 +02:00
Locate.cpp Clean up code (#3431) 2019-08-19 21:19:32 +02:00
Locate.h Clean up code (#3431) 2019-08-19 21:19:32 +02:00
Merge.cpp Clean up code (#3431) 2019-08-19 21:19:32 +02:00
Merge.h Clean up code (#3431) 2019-08-19 21:19:32 +02:00
Remove.cpp Clean up code (#3431) 2019-08-19 21:19:32 +02:00
Remove.h Clean up code (#3431) 2019-08-19 21:19:32 +02:00
Show.cpp Clean up code (#3431) 2019-08-19 21:19:32 +02:00
Show.h Clean up code (#3431) 2019-08-19 21:19:32 +02:00
TextStream.cpp Set console code page to CP_UTF8 on Windows if supported. (#3050) 2019-04-25 09:28:48 +02:00
TextStream.h Adding --quiet option to the CLI. (#2507) 2018-11-28 11:24:12 -05:00
Utils.cpp Fix leak in keepassxc-cli Clip command (#3430) 2019-08-19 19:56:00 -04:00
Utils.h Adding --no-password option to CLI 2019-03-24 09:23:26 -04:00