Sha256: 886a6c1935749d431eb1c2c71e4a8b2e9c59ceb249982a945d19c979530e72e1

Contents?: true

Size: 474 Bytes

Versions: 7

Compression:

Stored size: 474 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

        Config.new.environments.keys.each { |e| puts e }
      end

      def command_summary
        'List environments'
      end

    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
simple_deploy-0.7.2 lib/simple_deploy/cli/environments.rb
simple_deploy-0.7.2.beta.1 lib/simple_deploy/cli/environments.rb
simple_deploy-0.7.1 lib/simple_deploy/cli/environments.rb
simple_deploy-0.7.0 lib/simple_deploy/cli/environments.rb
simple_deploy-0.6.7 lib/simple_deploy/cli/environments.rb
simple_deploy-0.6.6 lib/simple_deploy/cli/environments.rb
simple_deploy-0.6.5 lib/simple_deploy/cli/environments.rb