]>
git.r.bdr.sh - rbdr/lyricli.rb/blob - lib/lyricli/lyricli.rb
00aa184755e13124069577f72f55e497198f2def
5 @source_manager = SourceManager
.new
9 abort
"Usage: #{$0} artist song"
16 engine
= LyricsEngine
.new(@current_track[:artist], @current_track[:song])
20 rescue LyricsNotFoundException
26 @current_track = @source_manager.current_track
30 self.exit_with_error
if @current_track[:artist].nil? or @current_track[:artist].empty
?
31 self.exit_with_error
if @current_track[:song].nil? or @current_track[:song].empty
?