Compare commits
2 commits
18d8a03e09
...
6c2775f58c
Author | SHA1 | Date | |
---|---|---|---|
|
6c2775f58c | ||
|
d0d3c2be08 |
1 changed files with 2 additions and 0 deletions
2
main.go
2
main.go
|
@ -8,6 +8,7 @@ import (
|
|||
var (
|
||||
source string
|
||||
dest string
|
||||
key string
|
||||
meta = []string{"description", "lang", "copyright", "created"} //_ = zord_tree.PopulateTree(cfg.MdTree.Path, cfg.MdTree.DPath, meta)
|
||||
customMeta = make(map[string]func() string)
|
||||
key = "WgiPGpt5wM6SVEWo5iqI"
|
||||
|
@ -16,6 +17,7 @@ var (
|
|||
func init() {
|
||||
flag.StringVar(&dest, "dest", "", "destination directory to read from")
|
||||
flag.StringVar(&source, "source", "", "source to collect texts.")
|
||||
flag.StringVar(&key, "key", "", "secret key for authenticated communication.")
|
||||
flag.Parse()
|
||||
|
||||
customMeta["copyright"] = func() string {
|
||||
|
|
Loading…
Reference in a new issue