Compare commits

...

2 commits

Author SHA1 Message Date
Arnas Udovicius
6c2775f58c Merge remote-tracking branch 'origin/master'
Some checks failed
continuous-integration/drone/push Build is failing
2022-08-22 23:00:03 +03:00
Arnas Udovicius
d0d3c2be08 add rebuild gprc command 2022-08-22 22:59:42 +03:00

View file

@ -8,6 +8,7 @@ import (
var ( var (
source string source string
dest string dest string
key string
meta = []string{"description", "lang", "copyright", "created"} //_ = zord_tree.PopulateTree(cfg.MdTree.Path, cfg.MdTree.DPath, meta) meta = []string{"description", "lang", "copyright", "created"} //_ = zord_tree.PopulateTree(cfg.MdTree.Path, cfg.MdTree.DPath, meta)
customMeta = make(map[string]func() string) customMeta = make(map[string]func() string)
key = "WgiPGpt5wM6SVEWo5iqI" key = "WgiPGpt5wM6SVEWo5iqI"
@ -16,6 +17,7 @@ var (
func init() { func init() {
flag.StringVar(&dest, "dest", "", "destination directory to read from") flag.StringVar(&dest, "dest", "", "destination directory to read from")
flag.StringVar(&source, "source", "", "source to collect texts.") flag.StringVar(&source, "source", "", "source to collect texts.")
flag.StringVar(&key, "key", "", "secret key for authenticated communication.")
flag.Parse() flag.Parse()
customMeta["copyright"] = func() string { customMeta["copyright"] = func() string {