From 790bc635abc2e068d2c686584e66017a0b5f876a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Sat, 23 Mar 2024 14:13:09 -0700 Subject: [PATCH] update readme --- README.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e976b5f..a650d5b 100644 --- a/README.md +++ b/README.md @@ -10,15 +10,23 @@ open an [age](https://github.com/FiloSottile/age) encrypted file in $EDITOR ### flags ```text - --identity value, -i value age identity file to use - --out value, -o value write to this file instead of the input file - --log value, -l value log level (default: "warn") - --editor value, -e value specify the editor to use - --help, -h show help - --version, -v print the version + --identity identity, -I identity [ --identity identity, -I identity ] age identity (or identities) to decrypt with + --identity-file FILE, -i FILE read identity from FILE + --recipient recipient, -R recipient [ --recipient recipient, -R recipient ] age recipients to encrypt to + --recipient-file FILE, -r FILE read recipients from FILE + --out FILE, -o FILE write to FILE instead of the input file + --editor EDITOR, -e EDITOR edit with specified EDITOR instead of $EDITOR + --editor-args arg [ --editor-args arg ] arguments to send to the editor + --force, -f re-encrypt the file even if no changes have been made. (default: false) + --log level log level (default: "warn") + --help, -h show help + --version, -v print the version ``` ## library `go get git.burning.moe/celediel/agedit@latest` See `./cmd/agedit` for example usage. + +## TODO +- support for password encrypted key files