diff growsync.go @ 3:3032e9f78e4b

add new cmd
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Tue, 01 Dec 2020 21:30:45 +0900
parents 76695bcbe426
children 359eff175bf1
line wrap: on
line diff
--- a/growsync.go	Tue Dec 01 20:31:02 2020 +0900
+++ b/growsync.go	Tue Dec 01 21:30:45 2020 +0900
@@ -13,7 +13,7 @@
 const cmdName = "growsync"
 
 var (
-	subCommands       = []cmd{&pushCmd{}}
+	subCommands       = []cmd{&newCmd{}, &pushCmd{}, &rootCmd{}}
 	dispatch          = make(map[string]cmd, len(subCommands))
 	maxSubcommandName int
 )