Sha256: 52e55b2c6742a94a3cbe60fbb3a7868f8d144e29712c1b1ab8683f916c52bc38

Contents?: true

Size: 657 Bytes

Versions: 25

Compression:

Stored size: 657 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 env list -a #{app}`)
            end
          end
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
neetob-0.5.16 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.5.15 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.5.14 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.5.13 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.5.12 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.5.11 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.5.10 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.5.9 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.5.8 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.5.7 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.5.6 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.5.5 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.5.4 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.5.3 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.5.2 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.5.1 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.5.0 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.4.37 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.4.36 lib/neetob/cli/neeto_deploy/config_vars/list.rb
neetob-0.4.35 lib/neetob/cli/neeto_deploy/config_vars/list.rb