cmd/agedit | ||
internal/config | ||
pkg | ||
.gitignore | ||
go.mod | ||
go.sum | ||
justfile | ||
LICENSE | ||
README.md |
agedit
open an age encrypted file in $EDITOR
cli
go install git.burning.moe/celediel/agedit/cmd/agedit@latest
agedit [flags] filename
flags
--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
library
for environmental variable loading:
go get git.burning.moe/celediel/agedit/pkg/env@latest
for opening files with editor:
go get git.burning.moe/celediel/agedit/pkg/editor@latest
for encrypting files:
go get git.burning.moe/celediel/agedit/pkg/encrypt@latest
for generating temporary filenames:
go get git.burning.moe/celediel/agedit/pkg/tmpfile@latest
See ./cmd/agedit/agedit.go
for example usage.