Sets the category for this callable. All callables with the same category name will be grouped together in help messages.
(mut self, category: &'static str)
| 519 | /// Sets the category for this callable. All callables with the same category name will be |
| 520 | /// grouped together in help messages. |
| 521 | pub fn with_category(mut self, category: &'static str) -> Self { |
| 522 | self.category = Some(category); |
| 523 | self |
| 524 | } |
| 525 | |
| 526 | /// Sets the description for this callable. The `description` is a collection of paragraphs |
| 527 | /// separated by a single newline character, where the first paragraph is taken as the summary |