module Shifter class CLI < Thor module Promote desc 'promote ', 'promotes commit to ' long_desc <<-DESC DESC option :interactive, type: :boolean, aliases: :i def promote(env) if options[:interactive] last_tag = Git.last_tag(env) else Git.tag! env end end end end end