summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorNikolaus Gotsche <n@softwarefools.com>2018-01-07 19:27:49 +0100
committerNikolaus Gotsche <n@softwarefools.com>2018-01-07 19:27:49 +0100
commitd9675b282394973d0755f1484fc5ebe452423de2 (patch)
tree1f8d9daf228ab4a9ab1e9aa14718fcb0cdf61d77 /main.go
parentfe024cd35abc6ce920d48e96140e74d867f9cdcd (diff)
PAar edits
Diffstat (limited to 'main.go')
-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()
}