annotate cmd_pull.go @ 14:1e21b0c29775

remove create page msg
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Thu, 17 Dec 2020 11:12:04 +0900 (2020-12-17)
parents 76695bcbe426
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
76695bcbe426 write cmd
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 package growsync
76695bcbe426 write cmd
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2
76695bcbe426 write cmd
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 import (
76695bcbe426 write cmd
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 "context"
76695bcbe426 write cmd
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 "io"
76695bcbe426 write cmd
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 )
76695bcbe426 write cmd
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7
76695bcbe426 write cmd
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 type pullCmd struct{}
76695bcbe426 write cmd
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9
76695bcbe426 write cmd
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 func (pc *pullCmd) name() string {
76695bcbe426 write cmd
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 return "pull"
76695bcbe426 write cmd
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 }
76695bcbe426 write cmd
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
13
76695bcbe426 write cmd
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 func (pc *pullCmd) description() string {
76695bcbe426 write cmd
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 return "pull from growi web app"
76695bcbe426 write cmd
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 }
76695bcbe426 write cmd
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
17
76695bcbe426 write cmd
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 func (pc *pullCmd) run(context.Context, []string, io.Writer, io.Writer) error {
76695bcbe426 write cmd
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
19 return nil
76695bcbe426 write cmd
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
20 }