Sha256: 8a7c8c68fb71e81587c3a6965ab17bc4be01f49647bf4067311664deb23451cf

Contents?: true

Size: 472 Bytes

Versions: 3

Compression:

Stored size: 472 Bytes

Contents

module Rebuild::CLI
  class RbldDeployCommand < Command
    def initialize
      @usage = "deploy [OPTIONS] [ENVIRONMENT[:TAG]]"
      @description = "Deploy environment from remote registry"
    end

    def run(parameters)
      env = Environment.new( parameters[0] )
      cmd = get_cmdline_tail( parameters )
      rbld_log.info("Going to deploy \"#{env}\"")
      engine_api.deploy!( env )
      rbld_print.progress "Successfully deployed #{env}\n"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rbld-1.0.2 cli/lib/commands/rbld_deploy.rb
rbld-1.0.1 cli/lib/commands/rbld_deploy.rb
rbld-1.0.0 cli/lib/commands/rbld_deploy.rb