class DuoSplitter::Commands::RepeatingCommand
Public Instance Methods
run()
click to toggle source
# File lib/duo_splitter/commands/repeating_command.rb, line 6 def run Services::CreateRepeatingSentences.new(context: context).run print_done end
Private Instance Methods
default_output_dir()
click to toggle source
# File lib/duo_splitter/commands/repeating_command.rb, line 13 def default_output_dir Pathname.new('~/Desktop/DUO 3.0 (Repeating)').expand_path end
parse_options(argv)
click to toggle source
# File lib/duo_splitter/commands/repeating_command.rb, line 17 def parse_options(argv) parser.banner = %(Usage: #{parser.program_name} [options] repeating "01 Track 01.wav" ... "45 Track 45.wav") on_output_dir on_output_format on_output_intro on_prefix_section_number on_show_progress on_ffmpeg_path on_sox_path on_use_notification_sound on_notification_sound_path parse!(argv) after_parse end