Sha256: 9b66d132e2c357b39bf8e42766cf2156ca36831ab7f9f8cbd5b5ed63d7b95cc1

Contents?: true

Size: 355 Bytes

Versions: 24

Compression:

Stored size: 355 Bytes

Contents

require 'travis/cli'

module Travis
  module CLI
    class Console < ApiCommand
      description "interactive shell"

      def run
        Travis::CLI.silent { require 'pry' }
        Object.send(:include, Client::Namespace.new(session))
        binding.pry(:quiet => true, :prompt => Pry::SIMPLE_PROMPT, :output => $stdout)
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
travis-1.6.3.travis.373.4 lib/travis/cli/console.rb
travis-1.6.2.travis.371.4 lib/travis/cli/console.rb
travis-1.6.2 lib/travis/cli/console.rb
travis-1.6.2.travis.370.4 lib/travis/cli/console.rb