acquia/moonshot

View on GitHub
lib/moonshot/commands/build.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

require_relative 'interactive_command'

module Moonshot
  module Commands
    class Build < Moonshot::Command
      include InteractiveCommand

      self.usage = 'build VERSION'
      self.description = 'Build a release artifact, ready for deployment'

      def execute(version_name)
        controller.build_version(version_name)
      end
    end
  end
end