diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 19 |
1 files changed, 17 insertions, 2 deletions
@@ -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() } |
