# frozen_string_literal: true require_relative "base" module Neetob class CLI module NeetoDeploy module ConfigVars class List < Base attr_accessor :apps, :sandbox def initialize(apps, sandbox = false) super() @apps = apps @sandbox = sandbox end def run matching_apps = find_all_matching_apps_or_repos(apps, :neetodeploy, sandbox) matching_apps.each do |app| ui.info("\nConfig of #{app}\n") ui.success(`neetodeploy config list -a #{app}`) end end end end end end end