2024-03-11 18:17:53 -04:00
|
|
|
# agedit
|
|
|
|
|
|
|
|
open an age encrypted file in $EDITOR
|
|
|
|
|
|
|
|
## 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
|
2024-03-11 20:46:15 -04:00
|
|
|
`go get git.burning.moe/celediel/agedit@latest`
|
2024-03-11 18:17:53 -04:00
|
|
|
|
|
|
|
See `./cmd/agedit/agedit.go` for example usage.
|