test/apps/todo/bin/todo in gli-2.3.0 vs test/apps/todo/bin/todo in gli-2.4.0
- old
+ new
@@ -27,9 +27,10 @@
switch :otherswitch, :negatable => true
version Todo::VERSION
commands_from 'todo/commands'
+commands_from File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'todo_plugins', 'commands'))
command :first do |c| c.action { |g,o,a| puts "first: #{a.join(',')}" } end
command :second do |c| c.action { |g,o,a| puts "second: #{a.join(',')}" } end
command :chained => [ :first, :second ]