bin/reap-scaffold in reap-9.3.5 vs bin/reap-scaffold in reap-9.4.0
- old
+ new
@@ -1,8 +1,22 @@
#!/usr/bin/env ruby
require 'reap/application'
-app = Reap::Application.new
+HELP = <<-END
+Usage: #{File.basename($0)} [options]
-app.scaffold
+Reap scaffold will generate a conventional Ruby project
+layout of directories and files. It uses information from
+project metadata to improve upon the scaffolding if it
+is available (see reap-init). reap-scaffold will not
+overwite pre-existing files of the same name unless the
+--force option is supplied.
+END
+
+if ARGV.include?('--help')
+ puts HELP
+else
+ app = Reap::Application.new
+ app.scaffold
+end