Skip to content

Commit dcd1fd0

Browse files
committed
pass cli arg to RecursiveTouch()
1 parent cfdf007 commit dcd1fd0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

main.go

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package main
2+
3+
import (
4+
"os"
5+
)
6+
7+
func main() {
8+
name := os.Args[1]
9+
if name != "" {
10+
RecursiveTouch(name)
11+
}
12+
}

0 commit comments

Comments
 (0)