Sha256: c5d6a3bd9408deac8a78969d6528e5792c035216bd54e86a1c425b2da1d4bf25
Contents?: true
Size: 1.02 KB
Versions: 17
Compression:
Stored size: 1.02 KB
Contents
# frozen_string_literal: true require 'ehbrs/tools/core_ext' require 'ehbrs_ruby_utils/music/lyrics_book' require 'ehbrs_ruby_utils/videos/container' require 'ultimate_lyrics/provider' module Ehbrs module Tools class Runner class Music class LyricsBook runner_with :help, :output do arg_opt '-p', '--provider', 'Nome do provedor.', default: ::EhbrsRubyUtils::Music::LyricsBook::DEFAULT_PROVIDER_NAME pos_arg :source_dir end def run start_banner run_output end def start_banner infov 'Source directory', book.source_dir infov 'Selected provider', book.provider end def book_uncached ::EhbrsRubyUtils::Music::LyricsBook.new(parsed.source_dir, provider_name: parsed.provider) end def output_content book.output end end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems