J
Junkone
I would like to understand how trallop works.
test.rb
opts = Trollop:
ptions do
opt
ption1, "do something"
opt
ption2, "do different something"
end
so i can run test.rb <arguement1>
If arguement 1 matches
ption1, it will perform "do something"
I am not getting this one right. i am looking for a commandline parser
for my app and lookedup at trallop.
test.rb
opts = Trollop:
opt
opt
end
so i can run test.rb <arguement1>
If arguement 1 matches
I am not getting this one right. i am looking for a commandline parser
for my app and lookedup at trallop.