Commit Graph

14 Commits

Author SHA1 Message Date
Paul Schaub edb384d157
Reference exit codes by Exception 2023-07-12 14:22:57 +02:00
Paul Schaub 6afe6896d8
Implement '--signing-only' option for 'generate-key' command 2023-07-12 01:06:41 +02:00
Paul Schaub d38556f79a
GenerateKeyCmd: Do not assert default profile 2023-04-14 15:06:07 +02:00
Paul Schaub 5935d65c90
Implement profiles 2023-04-14 14:06:34 +02:00
Paul Schaub 83a003e80f
Add list-profiles command 2023-04-11 15:06:37 +02:00
Paul Schaub dcb44f96c8
Fix wrongly named resource entries 2022-08-04 12:48:32 +02:00
Paul Schaub dc5f11469f
Rename resource bundles and name resources after options/parameters 2022-08-04 12:15:53 +02:00
Paul Schaub 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
Paul Schaub 4934e472e2
Wip: Refactor command implementation and enable i18n for CLI 2022-06-06 20:06:14 +02:00
Paul Schaub a7f02d58cc
Wip 2022-05-29 21:17:03 +02:00
Paul Schaub 8184c30617
GenerateKeyCmd: Make --with-key-password indirect data type 2022-05-24 22:13:11 +02:00
Paul Schaub 8406793d0e
Add param label for PASSWORD 2022-05-24 21:53:14 +02:00
Paul Schaub 9016c9f428
SOP: Add support for key password in GenerateKeyCmd 2022-05-24 21:49:40 +02:00
Paul Schaub 8e3ee6c284
Initial commit 2022-01-11 13:46:05 +01:00