From dcd1fd01d36832f52be23f8256a85422b1be2d75 Mon Sep 17 00:00:00 2001 From: eddie cianci Date: Sun, 29 Dec 2013 22:32:20 -0500 Subject: [PATCH] pass cli arg to RecursiveTouch() --- main.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 main.go diff --git a/main.go b/main.go new file mode 100644 index 0000000..ad00508 --- /dev/null +++ b/main.go @@ -0,0 +1,12 @@ +package main + +import ( + "os" +) + +func main() { + name := os.Args[1] + if name != "" { + RecursiveTouch(name) + } +}