(cmdName string)
| 137 | } |
| 138 | |
| 139 | func (r *registry) CommandUsage(cmdName string) string { |
| 140 | cmd := r.FindCommand(cmdName) |
| 141 | |
| 142 | return CLICommandUsagePresenter(cmd).Usage() |
| 143 | } |
| 144 | |
| 145 | type usagePresenter struct { |
| 146 | cmd Command |
no test coverage detected