lib/docman/cli.rb in docman-0.0.33 vs lib/docman/cli.rb in docman-0.0.34

- old
+ new

@@ -62,15 +62,17 @@ end end desc 'bump', 'Bump version' #option :state - def bump(state = nil) - if state - Exec.do "#{Application::bin}/bump-version.sh #{state}" - else - Exec.do "#{Application::bin}/bump-version.sh" - end + #option :skip + def bump(state = nil, skip = nil) + # if state + # Exec.do "#{Application::bin}/bump-version.sh #{state}" + # else + # Exec.do "#{Application::bin}/bump-version.sh" + # end + Exec.do "#{Application::bin}/bump-version.sh #{state} #{skip}" say('Complete!', :green) end no_commands { def config_dir? \ No newline at end of file