Skip to content

Some new features!

Compare
Choose a tag to compare
@justim justim released this 08 Mar 11:34
· 17 commits to master since this release
v1.1.0
29f1130

Option aliasing

Mostly to document short options a bit better in the usage message.

app = Consoler::Application.new
app.build '-v|-verbose` do |verbose|
  # `verbose` contains a number
end

Alternative argument definition

It's now possible to surround your argument definition in <, > for better legibility, this always used in the usage message.