Method: Stax::Stack#info

Defined in:
lib/stax/cli/info.rb

#infoObject



11
12
13
14
15
16
17
18
19
20
# File 'lib/stax/cli/info.rb', line 11

def info
  ## get mixins in the order we declared them
  self.class.subcommands.reverse.each do |cmd|
    begin
      invoke cmd, [:info]
    rescue Thor::UndefinedCommandError => e
      # no info no problem
    end
  end
end