lib/relish/commands/push.rb in relish-0.1.0 vs lib/relish/commands/push.rb in relish-0.1.1

- old
+ new

@@ -6,10 +6,11 @@ module Relish module Command class Push < Base option :version + usage 'push <project>' desc 'push features to relishapp.com' command :default do post files_as_tar_gz end @@ -24,9 +25,13 @@ def parameters "".tap do |str| str << "project_id=#{project}" str << "&version_id=#{version}" if version end + end + + def project + @param || super() end def files_as_tar_gz stream = StringIO.new begin