Mercurial > hg > Members > anatofuz > growsync
annotate cmd_root.go @ 1:76695bcbe426
write cmd
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 01 Dec 2020 20:30:06 +0900 |
parents | |
children | 3032e9f78e4b |
rev | line source |
---|---|
1 | 1 package growsync |
2 | |
3 import ( | |
4 "context" | |
5 "io" | |
6 ) | |
7 | |
8 type rootCmd struct{} | |
9 | |
10 func (pc *rootCmd) name() string { | |
11 return "root" | |
12 } | |
13 | |
14 func (pc *rootCmd) description() string { | |
15 return "root from growi web app" | |
16 } | |
17 | |
18 func (pc *rootCmd) run(context.Context, []string, io.Writer, io.Writer) error { | |
19 return nil | |
20 } |