(_ []string)
| 35 | } |
| 36 | |
| 37 | func (c *List) Run(_ []string) int { |
| 38 | kites, err := getInstalledKites("") |
| 39 | if err != nil { |
| 40 | c.Ui.Error(err.Error()) |
| 41 | return 1 |
| 42 | } |
| 43 | |
| 44 | for _, k := range kites { |
| 45 | c.Ui.Output(k.String()) |
| 46 | } |
| 47 | |
| 48 | return 0 |
| 49 | } |
| 50 | |
| 51 | // getIntalledKites returns installed kites in .kd/kites folder. |
| 52 | // an empty argument returns all kites. |
nothing calls this directly
no test coverage detected