Class: Rubycam::CLI::Commands::Exposure

Inherits:
ObsbotCommand show all
Defined in:
lib/rubycam/cli.rb

Instance Method Summary collapse

Instance Method Details

#call(mode:, **options) ⇒ Object



258
259
260
261
262
# File 'lib/rubycam/cli.rb', line 258

def call(mode:, **options)
  with_obsbot(options) do |bot|
    bot.exposure_mode = pick(mode, Obsbot::EXPOSURE_MODES.keys)
  end
end