How about instead of `ENV[k] = v`

```ruby
class Foreman::CLI < Thor
  method_option :inherit_env, :type => :boolean, :aliases => "-ie", :desc => "Inherit existing .env values when true. Defaults to false-- existing ENV values are overwritten"
  def run(*args)
    # yadda 
    # set_env_values(engine.env)
    # yadda
  end
  def set_env_values(env_values)
    env_value.each { |k,v| set_env_value(k,v) }
  end
  def set_env_value(key, value)
     return if options[:inherit_env] && ENV.has_key?(key)
     ENV[key] = value
  end
end
```