lib/juwelier/generator/options.rb in juwelier-2.2.1 vs lib/juwelier/generator/options.rb in juwelier-2.2.3
- old
+ new
@@ -131,21 +131,22 @@
o.on('--create-repo', 'create the repository on GitHub') do
self[:create_repo] = true
end
-
o.separator ""
o.on('--yard', 'use yard for documentation') do
self[:documentation_framework] = :yard
end
o.on('--rdoc', 'use rdoc for documentation') do
self[:documentation_framework] = :rdoc
end
+ o.separator ""
+
o.on('--org', 'use Orgmode for the readme') do
self[:readme_format] = :org
end
o.on('--markdown', 'use Markdown for the readme') do
@@ -154,9 +155,13 @@
o.on('-v', '--version', 'show version') do
self[:show_version] = true
end
+ o.on('--pry', 'set up pry debug suite') do
+ self[:use_pry] = true
+ end
+
o.on_tail('-h', '--help', 'display this help and exit') do
self[:show_help] = true
end
end