()
| 30 | } |
| 31 | |
| 32 | func (c *Query) Help() string { |
| 33 | helpText := ` |
| 34 | Usage: kitectl query [options] |
| 35 | |
| 36 | Queries Kontrol based on the given criteria. |
| 37 | |
| 38 | Options: |
| 39 | |
| 40 | -username=koding Username of the kite. |
| 41 | -environment=staging Environment of the kite. |
| 42 | -name=naber Name of the kite. |
| 43 | -version=0.0.1 Version of the kite. |
| 44 | -region=Asia Region of the kite. |
| 45 | -hostname=caprica Hostname of the kite. |
| 46 | -id=<UUID> Unique ID of the kite. |
| 47 | ` |
| 48 | return strings.TrimSpace(helpText) |
| 49 | } |
| 50 | |
| 51 | func (c *Query) Run(args []string) int { |
| 52 | c.KiteClient.Config = config.MustGet() |
nothing calls this directly
no outgoing calls
no test coverage detected