Sha256: 1f864cafd4bfb2375f48a12c72aab5b0a2f0afa9ac4a7d96e0912f1cb9a5433a

Contents?: true

Size: 429 Bytes

Versions: 5

Compression:

Stored size: 429 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] )
      rbld_log.info("Going to deploy \"#{env}\"")
      engine_api.deploy!( env )
      rbld_print.progress "Successfully deployed #{env}\n"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rbld-1.3.2 cli/lib/commands/rbld_deploy.rb
rbld-1.3.1 cli/lib/commands/rbld_deploy.rb
rbld-1.3.0 cli/lib/commands/rbld_deploy.rb
rbld-1.2.0 cli/lib/commands/rbld_deploy.rb
rbld-1.1.0 cli/lib/commands/rbld_deploy.rb