agedit/README.md

33 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

2024-03-11 18:17:53 -04:00
# agedit
2024-03-14 12:47:54 -04:00
open an [age](https://github.com/FiloSottile/age) encrypted file in $EDITOR
2024-03-11 18:17:53 -04:00
## cli
`go install git.burning.moe/celediel/agedit/cmd/agedit@latest`
2024-03-11 18:17:53 -04:00
`agedit [flags] filename`
### flags
```text
2024-03-23 17:13:09 -04:00
--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
2024-03-11 18:17:53 -04:00
```
## library
`go get git.burning.moe/celediel/agedit@latest`
2024-03-11 21:53:29 -04:00
See `./cmd/agedit` for example usage.
2024-03-23 17:13:09 -04:00
## TODO
- support for password encrypted key files