Class: LLM::Shell::Command::Help
- Inherits:
-
Object
- Object
- LLM::Shell::Command::Help
- Includes:
- Utils
- Defined in:
- lib/llm/shell/commands/help.rb
Instance Method Summary collapse
-
#call ⇒ void
Prints help.
- #initialize(context) ⇒ LLM::Shell::Command::Help constructor
Constructor Details
#initialize(context) ⇒ LLM::Shell::Command::Help
12 13 14 |
# File 'lib/llm/shell/commands/help.rb', line 12 def initialize(context) @context = context end |
Instance Method Details
#call ⇒ void
This method returns an undefined value.
Prints help
19 20 21 22 23 24 |
# File 'lib/llm/shell/commands/help.rb', line 19 def call pager do |io| render_commands(io) render_functions(io) end end |