Class: LLMExperiment::CLI::VersionCommand

Inherits:
Command
  • Object
show all
Defined in:
lib/llm_experiment/cli/version_command.rb

Constant Summary collapse

NAME =
"version"
SUMMARY =
"gem version and default toolchain pins"

Instance Method Summary collapse

Methods inherited from Command

#call, #initialize, summary

Constructor Details

This class inherits a constructor from LLMExperiment::CLI::Command

Instance Method Details

#run(_argv) ⇒ Object



9
10
11
12
13
14
# File 'lib/llm_experiment/cli/version_command.rb', line 9

def run(_argv)
  puts "llm-experiment #{VERSION}"
  Pins::DEFAULTS.each do |tool, pin|
    puts format("  %-14s %s", tool, Array(pin).join(" "))
  end
end