2024-03-11 20:23:36 -04:00
|
|
|
package config
|
|
|
|
|
|
|
|
type Config struct {
|
2024-03-23 16:57:15 -04:00
|
|
|
IdentityFile string `json:"identityfile" yaml:"identityfile" toml:"identityfile"`
|
|
|
|
RecipientFile string `json:"recipientfile" yaml:"recipientfile" toml:"recipientfile"`
|
|
|
|
Editor string `json:"editor" yaml:"editor" toml:"editor"`
|
|
|
|
EditorArgs []string `json:"editorargs" yaml:"editorargs" toml:"editorargs"`
|
|
|
|
Prefix string `json:"randomfileprefix" yaml:"randomfileprefix" toml:"randomfileprefix"`
|
|
|
|
Suffix string `json:"randomfilesuffix" yaml:"randomfilesuffix" toml:"randomfilesuffix"`
|
|
|
|
RandomLength int `json:"randomfilenamelength" yaml:"randomfilenamelength" toml:"randomfilenamelength"`
|
2024-03-11 20:23:36 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
var Defaults = Config{
|
|
|
|
Prefix: "agedit_",
|
|
|
|
Suffix: ".txt",
|
|
|
|
RandomLength: 13,
|
|
|
|
}
|