summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go19
1 files changed, 17 insertions, 2 deletions
diff --git a/main.go b/main.go
index 0d4e6c5..c54740e 100644
--- a/main.go
+++ b/main.go
@@ -1,8 +1,23 @@
package main
-import "fmt"
-
+import (
+ "fmt"
+ "flag"
+ "log"
+ "os"
+ "strings"
+ "os/exec"
+)
func main() {
fmt.Println("Hello World")
+ command := flag.String(
+ "command",
+ "",
+ "The MAin Command")
+ ignoreErrors := flag.Bool(
+ "ignore-errors",
+ false,
+ "Keep running after error if true")
+ flag.Parse()
}