def run
      usage "[0.1.2 - version, 100/10/1 - bump major/minor/patch, .build - add build] Commit message goes here" if @argv.empty?

      # First Arg may indicate version command if it matches pattern
      version_command = @argv[0] =~ COMMAND_PATTERN ? @argv.shift : nil

      # All the other args lumped into message, or default message
      if @argv.empty?
        commit_message = "Commit #{Time.now.to_s[0..-6]}"
        history_message = nil
      else
        commit_message = history_message = @argv.join(' ')
      end

      # Updating version only if version command set
      if version_command
        puts "Updating version with #{version_command}"
        if history_message
          system %Q{rake "version[#{version_command},#{history_message}]"}
        else
          system %Q{rake version[#{version_command}]}
        end
      end

      puts "Adding all the changes"
      system "git add --all"

      puts "Committing everything with message: #{commit_message}"
      system %Q[git commit -a -m "#{commit_message}" --author arvicco]

      current_branch = `git branch`.strip
      puts "Pushing to (default) remote for branch: #{current_branch}"
      system "git push"
    end
def run
      usage "[0.1.2 - version, 100/10/1 - bump major/minor/patch, .build - add build] Commit message goes here" if @argv.empty?

      # First Arg may indicate version command if it matches pattern
      version_command = @argv[0] =~ COMMAND_PATTERN ? @argv.shift : nil

      # All the other args lumped into message, or default message
      if @argv.empty?
        commit_message = "Commit #{Time.now.to_s[0..-6]}"
        history_message = nil
      else
        commit_message = history_message = @argv.join(' ')
      end

      # Updating version only if version command set
      if version_command
        puts "Updating version with #{version_command}"
        if history_message
          system %Q{rake "version[#{version_command},#{history_message}]"}
        else
          system %Q{rake version[#{version_command}]}
        end
      end

      puts "Adding all the changes"
      system "git add --all"

      puts "Committing everything with message: #{commit_message}"
      system %Q[git commit -a -m "#{commit_message}" --author arvicco]

      current_branch = `git branch`.strip
      puts "Pushing to (default) remote for branch: #{current_branch}"
      system "git push"
    end
or, one digit followed by 0-2 zeroes (100/10/1 - bump major/minor/patch)