bin/agile_utils in agile_utils-0.1.1 vs bin/agile_utils in agile_utils-0.1.2
- old
+ new
@@ -1,6 +1,10 @@
#!/usr/bin/env ruby
# Add the code for binary if we need one
-require_relative '../lib/agile_utils'
+require_relative "../lib/agile_utils"
puts "Welcome to #{AgileUtils::PROJECT_NAME} version #{AgileUtils::VERSION}"
include AgileUtils
-AgileUtils::CLI.start(ARGV)
+if ARGV.empty?
+ AgileUtils::CLI.start(%w[usage])
+else
+ AgileUtils::CLI.start(%w[main].concat(ARGV))
+end