Class: MeetingBuddy::CLI

Inherits:
Object
  • Object
show all
Defined in:
lib/meeting_buddy/cli.rb

Overview

Command Line Interface for MeetingBuddy

Handles command line argument parsing, session management, and audio processing for meeting recording and AI interaction.

Examples:

Basic usage

cli = MeetingBuddy::CLI.new(ARGV)
cli.run

With options

cli = MeetingBuddy::CLI.new(["--debug", "-n", "my-meeting"])
cli.run

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ CLI

Returns a new instance of CLI.



20
21
22
# File 'lib/meeting_buddy/cli.rb', line 20

def initialize(argv)
  @options = parse_options(argv)
end

Instance Method Details

#runObject



24
25
26
27
28
29
30
# File 'lib/meeting_buddy/cli.rb', line 24

def run
  configure
  setup_dependencies
  start_session
rescue Interrupt
  handle_shutdown
end