Module: Benry::ActionRunner::Export
- Defined in:
- lib/benry/actionrunner.rb
Constant Summary collapse
- CONFIG =
Benry::ActionRunner::CONFIG
- Action =
Benry::ActionRunner::Action
Class Method Summary collapse
- .current_app ⇒ Object
- .define_abbrev(abbrev, prefix) ⇒ Object
- .define_alias(alias_name, action_name, tag: nil, important: nil, hidden: nil) ⇒ Object
- .undef_abbrev(abbrev) ⇒ Object
- .undef_action(action_name) ⇒ Object
- .undef_alias(alias_name) ⇒ Object
Class Method Details
.current_app ⇒ Object
397 398 399 |
# File 'lib/benry/actionrunner.rb', line 397 def current_app() return Benry::CmdApp.current_app() end |
.define_abbrev(abbrev, prefix) ⇒ Object
389 390 391 |
# File 'lib/benry/actionrunner.rb', line 389 def define_abbrev(abbrev, prefix) return Benry::CmdApp.define_abbrev(abbrev, prefix) end |
.define_alias(alias_name, action_name, tag: nil, important: nil, hidden: nil) ⇒ Object
377 378 379 |
# File 'lib/benry/actionrunner.rb', line 377 def define_alias(alias_name, action_name, tag: nil, important: nil, hidden: nil) return Benry::CmdApp.define_alias(alias_name, action_name, tag: tag, important: important, hidden: hidden) end |
.undef_abbrev(abbrev) ⇒ Object
393 394 395 |
# File 'lib/benry/actionrunner.rb', line 393 def undef_abbrev(abbrev) return Benry::CmdApp.undef_abbrev(abbrev) end |
.undef_action(action_name) ⇒ Object
385 386 387 |
# File 'lib/benry/actionrunner.rb', line 385 def undef_action(action_name) return Benry::CmdApp.undef_action(action_name) end |
.undef_alias(alias_name) ⇒ Object
381 382 383 |
# File 'lib/benry/actionrunner.rb', line 381 def undef_alias(alias_name) return Benry::CmdApp.undef_alias(alias_name) end |