Sha256: 60cb5306745504dfff2fc96c48febba5b21e4f63f145e5581b32c9a0ed7ef154

Contents?: true

Size: 310 Bytes

Versions: 1

Compression:

Stored size: 310 Bytes

Contents

module Employ
  class CLI < Thor
    module Rollback

      desc 'rollback <env>', 'rollbacks <env> tag to the penultimate one'

      long_desc <<-DESC

      DESC

      def rollback(env)
        penultimate_tag = Git.penultimate_tag(env)
        Git.retag! env, penultimate_tag
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
employ-0.0.1 lib/employ/cli/rollback.rb