bin/gli in davetron5000-gli-0.1.4 vs bin/gli in davetron5000-gli-0.1.5
- old
+ new
@@ -12,11 +12,11 @@
switch :version
desc 'Dry run; don\'t change the disk'
switch :n
-desc 'Root dir in which to create project'
+desc 'Root dir of project'
default_value '.'
flag [:r,:root]
desc 'Create a new GLI-based project'
arg_name 'project_name [command[ command]*]'
@@ -51,11 +51,11 @@
post do |global,command,options,args|
puts "Executed #{command.name}" if global[:v]
end
-on_error do |global,command,options,args|
- puts "Got an error" if global[:v]
- true
-end
+#on_error do |global,command,options,args|
+# puts "Got an error" if global[:v]
+# true
+#end
run(ARGV)