diff options
| author | Nikolaus Gotsche <n@softwarefools.com> | 2018-01-07 19:27:49 +0100 |
|---|---|---|
| committer | Nikolaus Gotsche <n@softwarefools.com> | 2018-01-07 19:27:49 +0100 |
| commit | d9675b282394973d0755f1484fc5ebe452423de2 (patch) | |
| tree | 1f8d9daf228ab4a9ab1e9aa14718fcb0cdf61d77 /main.go | |
| parent | fe024cd35abc6ce920d48e96140e74d867f9cdcd (diff) | |
PAar edits
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() } |
