mruby-hogun is a convenient library to build the command line interface.
class FooCLI < Hogun
desc "hello NAME", "say hello to NAME"
option :opt1
def hello(name)
puts "Hello #{name}"
end
end
FooCLI.start
MIT License
| Name | Name | Last commit date | ||
|---|---|---|---|---|