Sha256: 4eb57a12c267c61e7f9655bcac13b9ff6497e8a3056409303bd7282fde66d126
Contents?: true
Size: 555 Bytes
Versions: 10
Compression:
Stored size: 555 Bytes
Contents
require 'rascal' module Rascal module CLI class Update < Base def initialize(thor, options, environment_name) @environment_name = if options[:all] fail_with_error('Cannot give --all and an environment name!') if environment_name :all else environment_name end super(thor, options) end def run images = [] each_environment(@environment_name) do |environment| images += environment.update(skip: images) end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems