Class: Luogu::CLI::Commands::Run

Inherits:
Dry::CLI::Command
  • Object
show all
Defined in:
lib/luogu/cli.rb

Instance Method Summary collapse

Instance Method Details

#call(prompt_file: nil, **options) ⇒ Object



37
38
39
40
# File 'lib/luogu/cli.rb', line 37

def call(prompt_file: nil, **options)
  chatgpt = ChatLLM.new(prompt_file, options.fetch(:out), options.fetch(:plugin, nil))
  chatgpt.run
end