()
| 71 | } |
| 72 | |
| 73 | func (c *ShellCommand) defaultHelp() string { |
| 74 | var doc ShellDoc |
| 75 | |
| 76 | if c.Description != "" { |
| 77 | doc.Add("", c.Description) |
| 78 | } |
| 79 | |
| 80 | doc.Add("Usage", c.Use) |
| 81 | |
| 82 | return doc.String() |
| 83 | } |
| 84 | |
| 85 | type PositionalArgs func(args []string) error |
| 86 |