SetCompletionCommandGroupID sets the group id of the completion command.
(groupID string)
| 350 | |
| 351 | // SetCompletionCommandGroupID sets the group id of the completion command. |
| 352 | func (c *Command) SetCompletionCommandGroupID(groupID string) { |
| 353 | // completionCommandGroupID is used if no completion command is defined by the user |
| 354 | c.Root().completionCommandGroupID = groupID |
| 355 | } |
| 356 | |
| 357 | // SetHelpTemplate sets help template to be used. Application can use it to set custom template. |
| 358 | func (c *Command) SetHelpTemplate(s string) { |