]>
git.r.bdr.sh - rbdr/lyricli.rb/blob - bin/lrc
8 OptionParser
.new
do |opts
|
12 lrc You must enable other sources for this
17 opts
.on("-e", "--enable SOURCE", "Enable SOURCE") do |source
|
18 Lyricli
.enable(source
)
19 puts
"#{source} has been enabled"
23 opts
.on("-l", "--list-sources", "List all available Sources") do
28 opts
.on("-d", "--disable SOURCE", "Disable SOURCE") do |source
|
29 Lyricli
.disable(source
)
30 puts
"#{source} has been disabled"
34 opts
.on("-r", "--reset SOURCE", "Reset the configuration of SOURCE") do |source
|
36 puts
"#{source} has been disabled and all its configuration reset"
40 opts
.on("-h", "--help", "Shows this message") do
45 opts
.on("-v", "--version", "Show version") do