Class: LLM::Shell::Command::ShowVersion
- Inherits:
-
LLM::Shell::Command
- Object
- LLM::Shell::Command
- LLM::Shell::Command::ShowVersion
- Defined in:
- lib/llm/shell/commands/show_version.rb
Instance Method Summary collapse
-
#call ⇒ void
Shows the current llm-shell version.
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.
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 |