(cmds []*Node, iw *helpWriter)
| 246 | } |
| 247 | |
| 248 | func writeCommandList(cmds []*Node, iw *helpWriter) { |
| 249 | for i, cmd := range cmds { |
| 250 | if cmd.Hidden { |
| 251 | continue |
| 252 | } |
| 253 | printCommandSummary(iw, cmd) |
| 254 | if i != len(cmds)-1 { |
| 255 | iw.Print("") |
| 256 | } |
| 257 | } |
| 258 | } |
| 259 | |
| 260 | func writeCompactCommandList(cmds []*Node, iw *helpWriter) { |
| 261 | rows := [][2]string{} |
no test coverage detected