diff options
| author | Jeff Carr <[email protected]> | 2024-11-08 04:07:53 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-08 04:07:53 -0600 |
| commit | 54b9acef69d2165d7692a85d6b5684240b915c85 (patch) | |
| tree | 86e6d5a93a9b5c40b3fddf39886046d9782f90a1 /main.go | |
| parent | 38e55b2609031459ebdfc42ba03307bca4ff0263 (diff) | |
switch to using go-cmd/cmd
Signed-off-by: Jeff Carr <[email protected]>
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 |
