Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  const ( GroupAnnotationLabel = "Group" StackGroup = "Stack commands" TemplateGroup = "Template commands" )
Labels used as annotations on commands to provide grouping
Variables ¶
      View Source
      
  var Groups = []string{ StackGroup, TemplateGroup, }
Groups represents the ordering of commands in Rain's help text
      View Source
      
  var StackAnnotation = map[string]string{GroupAnnotationLabel: StackGroup}
    StackAnnotation is used by rain sub-commands to register as commands in the stack group
      View Source
      
  var TemplateAnnotation = map[string]string{GroupAnnotationLabel: TemplateGroup}
    TemplateAnnotation is used by rain sub-commands to register as commands in the template group
Functions ¶
func AddDefaults ¶
AddDefaults add standard additional flags and version information to a command
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.