Class: Rubycam::CLI::Commands::Track
- Inherits:
-
ObsbotCommand
- Object
- Dry::CLI::Command
- VideoCommand
- ObsbotCommand
- Rubycam::CLI::Commands::Track
- Defined in:
- lib/rubycam/cli.rb
Instance Method Summary collapse
Instance Method Details
#call(mode:, **options) ⇒ Object
229 230 231 |
# File 'lib/rubycam/cli.rb', line 229 def call(mode:, **) with_obsbot() { |bot| bot.ai_mode = pick(mode, Obsbot::AI_MODES.keys) } end |