keepassxc/src
louib 04360ed552 CLI Command cleanup
This PR cleans up the `Command` classes in the CLI, introducing a
`DatabaseCommand` class for the commands operating on a database,
and a `getCommandLineParser` command to centralize the arguments
parsing and validation.

The opening of the database based on the CLI arguments and options
is now centralized in `DatabaseCommand.execute`, making it easy to
add new database opening features (like YubiKey support for the CLI).

Also a couple of bugs fixed:
  * `Create` was still using `stdout` for some error messages.
  * `Diceware` and `Generate` were not validating that the word count was an integer.
  * `Diceware` was also using `stdout` for some error messages.
2019-06-14 18:15:38 -04:00
..
autotype Merge branch 'release/2.4.2' into develop 2019-05-30 17:22:09 -04:00
browser Support returning a canceled message 2019-06-14 17:57:07 -04:00
cli CLI Command cleanup 2019-06-14 18:15:38 -04:00
core Add word case option to passphrase generator (#3172) 2019-05-24 18:23:19 -04:00
crypto Merge branch 'master' into develop 2019-05-31 16:17:47 -04:00
fdosecrets Code formatting 2019-05-19 18:21:34 -04:00
format Merge branch 'release/2.4.2' into develop 2019-05-30 17:22:09 -04:00
gui Fix #3259 Use QUrl::fromUserInput to parse a url with correct scheme 2019-06-13 18:37:19 -04:00
keeshare Settings option to shush success KeeShare notifications (#3236) 2019-06-07 08:43:25 -04:00
keys Code formatting 2019-05-19 18:21:34 -04:00
proxy Merge branch 'master' into develop 2019-06-12 01:10:25 +02:00
qrcode Add QR code generator for TOTP export (#1167) 2018-10-19 14:42:49 -04:00
sshagent Only remove keys on exit if they would remove on lock (#2985) 2019-04-12 19:55:28 +02:00
streams Code quality updates for 2.4.0 (#2709) 2019-02-18 08:26:56 -05:00
totp Merge branch 'master' into develop 2019-05-31 16:17:47 -04:00
touchid Improve resilience against memory attacks 2019-04-21 09:39:28 -04:00
updatecheck Enhance update checker 2019-04-11 08:52:51 -04:00
zxcvbn Correct zxcvbn build on windows & snap build 2018-02-21 21:59:42 -05:00
CMakeLists.txt Implement 1Password Vault Import 2019-05-19 18:21:34 -04:00
config-keepassx.h.cmake Add Freedesktop.org Secret Storage Spec Server Side API (Fix #1403) 2019-05-12 12:35:42 -04:00
git-info.h.cmake Cleanup CMakeFiles prior to release 2019-01-30 15:03:03 -05:00
main.cpp Code formatting 2019-05-19 18:21:34 -04:00