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
|
2024-03-11 20:41:39 -04:00
|
|
|
`go install git.burning.moe/celediel/agedit/cmd/agedit@latest`
|
2024-03-11 18:17:53 -04:00
|
|
|
|
|
|
|
`agedit [flags] filename`
|
|
|
|
|
|
|
|
### flags
|
|
|
|
|
2024-03-11 20:41:39 -04:00
|
|
|
```text
|
|
|
|
--identity value, -i value age identity file to use
|
|
|
|
--out value, -o value write to this file instead of the input file
|
2024-03-11 18:17:53 -04:00
|
|
|
--log value, -l value log level (default: "warn")
|
2024-03-11 20:41:39 -04:00
|
|
|
--editor value, -e value specify the editor to use
|
2024-03-11 18:17:53 -04:00
|
|
|
--help, -h show help
|
|
|
|
--version, -v print the version
|
|
|
|
```
|
|
|
|
|
|
|
|
## library
|
|
|
|
`go get git.burning.moe/celediel/agedit@latest`
|
|
|
|
|
2024-03-11 21:53:29 -04:00
|
|
|
See `./cmd/agedit` for example usage.
|