summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-06 15:52:43 -0600
committerJeff Carr <[email protected]>2024-11-06 15:52:43 -0600
commit32c023ac384eaf19d2f3a72e736632d465382d3e (patch)
tree2656ae7cd77f449f8ad07cebc29fea356801b303 /main.go
parentea894bdfe02ab691c934397e9d9ace356910f88e (diff)
add argv --keep-files
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/main.go b/main.go
index 4c239c0..921a787 100644
--- a/main.go
+++ b/main.go
@@ -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 {