Sha256: 9f3bef906da86cc340116ae1270a8bb83c412b57522410920ca53f8b725cfc5b
Contents?: true
Size: 895 Bytes
Versions: 13
Compression:
Stored size: 895 Bytes
Contents
# 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) results = [] matching_apps.each do |app| ui.info("\nConfig of #{app}\n") unless Thread.current[:audit_mode] result = `neetodeploy env list -a #{app}` results << result ui.success(result) unless Thread.current[:audit_mode] end if Thread.current[:audit_mode] results end end end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems