diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -27,6 +27,8 @@ var basicWindow *gadgets.BasicWindow var resources embed.FS func main() { + // RunTest() + // os.Exit(0) if argv.Repo == "" { log.Info("You need to tell me what repo you want to work on") println("") @@ -67,6 +69,10 @@ func main() { os.Exit(-1) } + // set the working directory to argv.Repo + log.Info("cd", cBox.status.Path()) + os.Chdir(cBox.status.Path()) + if argv.NoGui { shell.TestTerminalColor() // basicWindow.Show() // broken gui package. convert to protobuf |
