Class: Aircana::CLI::App
- Inherits:
-
Thor
- Object
- Thor
- Aircana::CLI::App
- Includes:
- HelpFormatter
- Defined in:
- lib/aircana/cli/app.rb
Overview
Thor application for the primary cli
Defined Under Namespace
Classes: KBSubcommand, PluginSubcommand
Instance Method Summary collapse
- #doctor ⇒ Object
- #dump_context(agent_name) ⇒ Object
- #generate ⇒ Object
- #init(directory = nil) ⇒ Object
Methods included from HelpFormatter
Instance Method Details
#doctor ⇒ Object
25 26 27 28 |
# File 'lib/aircana/cli/app.rb', line 25 def doctor exit_code = Doctor.run(verbose: [:verbose]) exit(exit_code) end |
#dump_context(agent_name) ⇒ Object
33 34 35 |
# File 'lib/aircana/cli/app.rb', line 33 def dump_context(agent_name) DumpContext.run(agent_name: agent_name, verbose: [:verbose]) end |