Sha256: 8e5ac224fb27ec5fcaf52b05c93892f4d273b73da24a1a81830db98351f8438f

Contents?: true

Size: 660 Bytes

Versions: 19

Compression:

Stored size: 660 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)
            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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
neetob-0.4.28 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.4.27 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.4.26 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.4.24 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.4.23 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.4.22 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.4.21 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.4.20 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.4.19 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.4.16 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.4.15 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.4.14 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.4.13 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.4.12 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.4.11 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.4.10 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.4.9 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.4.8 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.4.7 lib/neetob/cli/neeto_deploy/config_vars/list.rb