diff options
| author | Jeff Carr <[email protected]> | 2024-11-06 15:52:43 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-06 15:52:43 -0600 |
| commit | 32c023ac384eaf19d2f3a72e736632d465382d3e (patch) | |
| tree | 2656ae7cd77f449f8ad07cebc29fea356801b303 /main.go | |
| parent | ea894bdfe02ab691c934397e9d9ace356910f88e (diff) | |
add argv --keep-files
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -47,8 +47,18 @@ func main() { cBox.computeControlValues() // verify the values for the package + if cBox.status == nil { + log.Info("argv.Repo =", argv.Repo) + log.Info("repo not found. Try:") + log.Info("") + log.Info(" go-clone", argv.Repo) + log.Info("") + os.Exit(-1) + } + if argv.NoGui { shell.TestTerminalColor() + // basicWindow.Show() // broken gui package. convert to protobuf if ok, err := cBox.buildPackage(); ok { log.Info("build worked") } else { |
