vendor/bundle/ruby/2.6.0/gems/gli-2.19.2/lib/gli/command_support.rb
# The parent of this command, either the GLI app, or another command
The parent of this command, either the GLI app, or another command
The parent of this command either the GLI app or another command
def switch(*names)
      if send_declarations_to_parent?
        new_switch = if parent.kind_of? Command
                       super(*names)
                       parent.switch(*names)
                     else
                       super(*names)
                     end
        new_switch.associated_command = self
        new_switch
      else
        super(*names)
      end
    end
def switch ( * names ) if send_declarations_to_parent? new_switch = if parent . kind_of? Command super ( * names ) parent . switch ( * names ) else super ( * names ) end new_switch . associated_command = self new_switch else super ( * names ) end end
The parent of this command, either the GLI app, or another command
The parent of this command either the GLI app or another command
names
<not_specific>