diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -5,6 +5,7 @@ package main import ( "debug/buildinfo" + "embed" "fmt" "os" "path/filepath" @@ -20,6 +21,9 @@ var BUILDTIME string // used for shell auto completion var ARGNAME string = "wit" // todo: get this from $0 ? +//go:embed resources/* +var resources embed.FS + func main() { me = new(mainType) me.once.Do(initMain) @@ -45,10 +49,8 @@ func main() { } if argv.Clone != nil { - if argv.RepoMap != "" { - repomap(argv.RepoMap) - okExit("") - } + doClone() + okExit("") } if argv.WITCOM { |
