| Class | Kwartz::CommandOptions |
| In: |
lib/kwartz/main.rb
|
| Parent: | Object |
command option class
ex.
option_table = [
[?h, :help, nil],
[?v, :version, nil],
[?f, :file, "filename"],
]
properties = {}
options = CommandOption.new(option_table, properties)
filenames = options.parse_argv(ARGV)
p options.help
p options.version
p options.file