Sha256: 269fa0bc7b1a991fcd47b221435071ebfd2f636a718b783c197d53600d8d495e
Contents?: true
Size: 544 Bytes
Versions: 11
Compression:
Stored size: 544 Bytes
Contents
require 'rascal' module Rascal module CLI class Clean < 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 each_environment(@environment_name) do |environment| environment.clean(clean_volumes: @options[:volumes]) end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems