end
opts.on("-l", "--list-sources", "List all available Sources") do
- puts Lyricli.sources
+ puts Lyricli.listSources()
exit
end
exit
end
- opts.on("-h", "--help", "Shows this message") do
- puts opts
- exit
- end
-
- opts.on("-v", "--version", "Show version") do
- puts Lyricli.version
- exit
+ opts.on("-t", "--title", "Shows the song title and artist") do
+ Lyricli.show_title = true
end
end.parse!