-
-
Save yorickpeterse/7e69b1a3a64ea175e20f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'slop' | |
puts Slop.parse do |opt| | |
opt.banner = 'butts' | |
opt.on '--version', 'Lee has been slacking off' do | |
puts 'ehm' | |
exit | |
end | |
end | |
opts = Slop.parse do |opt| | |
opt.banner = 'butts' | |
opt.on '--version', 'Lee has been slacking off' do | |
puts 'ehm' | |
exit | |
end | |
end | |
puts opts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment