exe/coltrane in coltrane-3.0.0 vs exe/coltrane in coltrane-3.1.0
- old
+ new
@@ -24,13 +24,18 @@
command.mercenary_init(p)
end
p.command(:about) do |c|
c.description 'Shows this screen'
+ c.action { puts p }
+ end
+
+ p.command(:shell) do |c|
+ c.description 'Starts an interactive shell'
c.action do
- puts p
+ system File.expand_path('../../bin', __FILE__) + "/coltrane-interactive"
end
end
- p.default_command(:about)
+ p.default_command(:shell)
end