Class: OpenAI::CLI::Commands::Complete

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

Instance Method Summary collapse

Instance Method Details

#call(message: "", **opts) ⇒ Object



23
24
25
26
27
# File 'lib/openai/cli/commands/complete.rb', line 23

def call(message: "", **opts)
  # either message or interactive mode should be present
  # model should be read from the configuration
  puts "complete command called with arguments: #{message.inspect}, #{opts.inspect}"
end