update readme

This commit is contained in:
Lilian Jónsdóttir 2024-03-23 14:13:09 -07:00
parent da5adc9828
commit 790bc635ab

View file

@ -10,10 +10,15 @@ open an [age](https://github.com/FiloSottile/age) encrypted file in $EDITOR
### flags ### flags
```text ```text
--identity value, -i value age identity file to use --identity identity, -I identity [ --identity identity, -I identity ] age identity (or identities) to decrypt with
--out value, -o value write to this file instead of the input file --identity-file FILE, -i FILE read identity from FILE
--log value, -l value log level (default: "warn") --recipient recipient, -R recipient [ --recipient recipient, -R recipient ] age recipients to encrypt to
--editor value, -e value specify the editor to use --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 --help, -h show help
--version, -v print the version --version, -v print the version
``` ```
@ -22,3 +27,6 @@ open an [age](https://github.com/FiloSottile/age) encrypted file in $EDITOR
`go get git.burning.moe/celediel/agedit@latest` `go get git.burning.moe/celediel/agedit@latest`
See `./cmd/agedit` for example usage. See `./cmd/agedit` for example usage.
## TODO
- support for password encrypted key files