Module: Thor::Interactive

Defined in:
lib/thor/interactive.rb,
lib/thor/interactive/tui.rb,
lib/thor/interactive/shell.rb,
lib/thor/interactive/command.rb,
lib/thor/interactive/version.rb,
lib/thor/interactive/tui/theme.rb,
lib/thor/interactive/tui/spinner.rb,
lib/thor/interactive/tui/status_bar.rb,
lib/thor/interactive/tui/text_input.rb,
lib/thor/interactive/command_dispatch.rb,
lib/thor/interactive/tui/output_buffer.rb,
lib/thor/interactive/tui/ratatui_shell.rb

Defined Under Namespace

Modules: Command, CommandDispatch, TUI Classes: Error, Shell

Constant Summary collapse

VERSION =
ThorInteractive::VERSION

Class Method Summary collapse

Class Method Details

.start(thor_class, options = {}) ⇒ Object

Convenience method to start an interactive shell



12
13
14
# File 'lib/thor/interactive.rb', line 12

def self.start(thor_class, options = {})
  Shell.new(thor_class, options).start
end