Skip to content

Releases: justim/consoler-rb

Command shortcuts

23 Mar 15:52
v1.2.0
ba5dcf1

Choose a tag to compare

  • Command shortcuts
  • Bug in normalization

Some new features!

08 Mar 11:34
v1.1.0
29f1130

Choose a tag to compare

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.

Bugfix

17 Mar 16:17
v1.0.3
d46f606

Choose a tag to compare

  • Normalize dashed option names to use an underscore to be used in the action block

Bugfix

14 Mar 10:14
ef1663e

Choose a tag to compare

  • Don't modify the input to run, this is a undesired side effect

Bugfix

13 Mar 21:13
92ba49f

Choose a tag to compare

  • Don't use a fixed ruby version in the Gemfile

Initial release

13 Mar 20:03
edb23b6

Choose a tag to compare

Initial release, see README for usage.