Commit graph

24 commits

Author SHA1 Message Date
dcb44f96c8
Fix wrongly named resource entries 2022-08-04 12:48:32 +02:00
dc5f11469f
Rename resource bundles and name resources after options/parameters 2022-08-04 12:15:53 +02:00
7de94f1815
Set resource bundle for help command 2022-07-27 14:30:48 +02:00
fa52df385e
Split message resources into separate per-command resource files.
Since picocli 4.7.0, subcommands inherit resources from their
parent commands, so we can store shared stuff like error msgs
etc. in the parent (sop) resources file.

This enables us to rename the parent command downstream (e.g. in
pgpainless-cli).

Only the help command breaks when renaming the parent command.
TODO: Fix
2022-07-25 19:15:47 +02:00
3801a644ef
Do not overwrite command name.
Doing so would break resolution of command.usage.header strings
2022-07-23 01:21:14 +02:00
eefb445916
Reformat and restructure exceptions 2022-06-10 16:16:37 +02:00
4934e472e2
Wip: Refactor command implementation and enable i18n for CLI 2022-06-06 20:06:14 +02:00
a7f02d58cc
Wip 2022-05-29 21:17:03 +02:00
8184c30617
GenerateKeyCmd: Make --with-key-password indirect data type 2022-05-24 22:13:11 +02:00
45ee435a18
Add support for --with-key-password to DecryptCmd 2022-05-24 22:10:21 +02:00
6438ebc59c
Make Sign.withKeyPassword indirect data type 2022-05-24 22:09:49 +02:00
de11c17967
Rename DetachInbandSignaturesAndMessageCmd to InlineDetachCmd 2022-05-24 21:56:17 +02:00
55aefb799f
Add support for --with-key-password to Sign 2022-05-24 21:55:35 +02:00
8406793d0e
Add param label for PASSWORD 2022-05-24 21:53:14 +02:00
9016c9f428
SOP: Add support for key password in GenerateKeyCmd 2022-05-24 21:49:40 +02:00
fd9192995f
Rename DetachInbandSignatureAndMessage to InlineDetach 2022-05-24 21:19:37 +02:00
eb80c14ce3
Add command name and description for parent command 2022-04-11 13:59:09 +02:00
1030de2ad3
CLI: Document exit codes 2022-04-11 12:13:13 +02:00
6c392addc1
Add hidden generate-completion command
This command can be used to generate zsh/bash autocompletion.
See https://picocli.info/autocomplete.html
2022-03-11 17:22:52 +01:00
780abbbc51
Add TODO for allowing non-utf8 passwords during decryption 2022-02-10 11:35:22 +01:00
8877bae675
Implement detection of non-UTF8 passwords 2022-02-09 23:59:45 +01:00
3e1502ff2a
Fix exception handling and add tests 2022-02-09 23:35:44 +01:00
117117b735
Treat password and sessionkkey arguments as indirect data types 2022-02-09 15:12:23 +01:00
8e3ee6c284
Initial commit 2022-01-11 13:46:05 +01:00