Abstract base class for a logical element of a command line, mostly so that subclasses can have similar initialization and interface

Methods
#
N
Instance Public methods
<=>(other)

Sort based on primary name

# File lib/gli/command_line_token.rb, line 17
def <=>(other)
  self.name.to_s <=> other.name.to_s
end
names_and_aliases()

Array of the name and aliases, as string

# File lib/gli/command_line_token.rb, line 22
def names_and_aliases
  [self.name,self.aliases].flatten.compact.map(&:to_s)
end