Method: Stax.add_command

Defined in:
lib/stax/staxfile.rb

.add_command(name, klass) ⇒ Object

add a non-stack command at top level



67
68
69
70
# File 'lib/stax/staxfile.rb', line 67

def self.add_command(name, klass)
  Cli.desc(name, "#{name} commands")
  Cli.subcommand(name, klass)
end