()
| 31 | } |
| 32 | |
| 33 | func (c *Register) Help() string { |
| 34 | helpText := ` |
| 35 | Usage: kitectl register [options] |
| 36 | |
| 37 | Registers your host to a kite authority. |
| 38 | If no server is specified, "https://discovery.koding.io/kite" is the default. |
| 39 | |
| 40 | Options: |
| 41 | |
| 42 | -to=https://discovery.koding.io/kite Kontrol URL |
| 43 | -username=koding Username |
| 44 | ` |
| 45 | return strings.TrimSpace(helpText) |
| 46 | } |
| 47 | |
| 48 | func (c *Register) Run(args []string) int { |
| 49 | var kontrolURL, username string |
nothing calls this directly
no outgoing calls
no test coverage detected