Class: LLM::Shell::Command::ShowVersion

Inherits:
LLM::Shell::Command show all
Defined in:
lib/llm/shell/commands/show_version.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.

Shows the current llm-shell version



11
12
13
14
15
# File 'lib/llm/shell/commands/show_version.rb', line 11

def call
  pager do |io|
    io.write("llm-shell version: #{LLM::Shell::VERSION}\n")
  end
end