Sha256: efca455944071d703754032d70f58b1ec243dbefa759f56323fbc0d95ce86bee

Contents?: true

Size: 476 Bytes

Versions: 24

Compression:

Stored size: 476 Bytes

Contents

require 'trollop'

module SimpleDeploy
  module CLI

    class Environments
      include Shared

      def environments
        @opts = Trollop::options do
          version SimpleDeploy::VERSION
          banner <<-EOS

List environments

simple_deploy environments

EOS
          opt :help, "Display Help"
        end

        SimpleDeploy.environments.keys.each { |e| puts e }
      end

      def command_summary
        'List environments'
      end

    end

  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
simple_deploy-0.10.2 lib/simple_deploy/cli/environments.rb
simple_deploy-0.10.1 lib/simple_deploy/cli/environments.rb
simple_deploy-0.10.0 lib/simple_deploy/cli/environments.rb
simple_deploy-0.10.0.beta.3 lib/simple_deploy/cli/environments.rb
simple_deploy-0.10.0.beta.2 lib/simple_deploy/cli/environments.rb
simple_deploy-0.10.0.beta.1 lib/simple_deploy/cli/environments.rb
simple_deploy-0.9.2 lib/simple_deploy/cli/environments.rb
simple_deploy-0.9.1 lib/simple_deploy/cli/environments.rb
simple_deploy-0.9.0 lib/simple_deploy/cli/environments.rb
simple_deploy-0.8.2 lib/simple_deploy/cli/environments.rb
simple_deploy-0.8.2.beta1 lib/simple_deploy/cli/environments.rb
simple_deploy-0.8.1.beta1 lib/simple_deploy/cli/environments.rb
simple_deploy-0.8.0 lib/simple_deploy/cli/environments.rb
simple_deploy-0.7.8 lib/simple_deploy/cli/environments.rb
simple_deploy-0.7.7 lib/simple_deploy/cli/environments.rb
simple_deploy-0.7.7.beta.1 lib/simple_deploy/cli/environments.rb
simple_deploy-0.7.6 lib/simple_deploy/cli/environments.rb
simple_deploy-0.7.6.beta.6 lib/simple_deploy/cli/environments.rb
simple_deploy-0.7.6.beta.5 lib/simple_deploy/cli/environments.rb
simple_deploy-0.7.6.beta.3 lib/simple_deploy/cli/environments.rb