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 flag(*names)
      if send_declarations_to_parent?
        new_flag = if parent.kind_of? Command
                     super(*names)
                     parent.flag(*names)
                   else
                     super(*names)
                   end
        new_flag.associated_command = self
        new_flag
      else
        super(*names)
      end
    end
def flag ( * names ) if send_declarations_to_parent? new_flag = if parent . kind_of? Command super ( * names ) parent . flag ( * names ) else super ( * names ) end new_flag . associated_command = self new_flag 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>