()
| 16 | ) |
| 17 | |
| 18 | func (r *RootCmd) features() *serpent.Command { |
| 19 | cmd := &serpent.Command{ |
| 20 | Short: "List Enterprise features", |
| 21 | Use: "features", |
| 22 | Aliases: []string{"feature"}, |
| 23 | Handler: func(inv *serpent.Invocation) error { |
| 24 | return inv.Command.HelpHandler(inv) |
| 25 | }, |
| 26 | Children: []*serpent.Command{ |
| 27 | r.featuresList(), |
| 28 | }, |
| 29 | } |
| 30 | return cmd |
| 31 | } |
| 32 | |
| 33 | func (r *RootCmd) featuresList() *serpent.Command { |
| 34 | var ( |
no test coverage detected