Sha256: f50fade5a2fbcca7a20a86d1d110b857d803e73b6de34e824b720c235af76b3d
Contents?: true
Size: 762 Bytes
Versions: 19
Compression:
Stored size: 762 Bytes
Contents
# frozen_string_literal: true require_relative "base" module Neetob class CLI module NeetoDeploy module ConfigVars class Remove < Base attr_accessor :apps, :keys, :sandbox def initialize(apps, keys = [], sandbox = false) super() @apps = apps @keys = keys @sandbox = sandbox end def run matching_apps = find_all_matching_apps_or_repos(apps, :neetodeploy, sandbox) matching_apps.each do |app| ui.info("\nWorking on #{app}") keys.each do |key| ui.info(`neetodeploy config unset #{key} -a #{app}`) end end end end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems