module Employ class CLI < Thor module Rollback desc 'rollback ', 'rollbacks 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