Class: LLM::Shell::Command::Help
- Inherits:
-
LLM::Shell::Command
- Object
- LLM::Shell::Command
- LLM::Shell::Command::Help
- Defined in:
- lib/llm/shell/commands/help.rb
Instance Method Summary collapse
-
#call ⇒ void
Prints help.
Methods inherited from LLM::Shell::Command
builtin?, description, enabled?, inherited, #initialize, name
Constructor Details
This class inherits a constructor from LLM::Shell::Command
Instance Method Details
#call ⇒ void
This method returns an undefined value.
Prints help
11 12 13 14 15 16 17 18 |
# File 'lib/llm/shell/commands/help.rb', line 11 def call pager do |io| io.print(Paint["Help", :bold, :underline], "\n\n") render_commands(io) io.print("\n") render_functions(io) end end |