Class: LLM::Shell::Command::Help

Inherits:
LLM::Shell::Command show all
Defined in:
lib/llm/shell/commands/help.rb

Instance Method Summary collapse

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

#callvoid

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