Sha256: 057bcd2feb51e6c04f44df4733e85f28a601f49d1a157ddd8ab9e57a28e71a6e
Contents?: true
Size: 470 Bytes
Versions: 126
Compression:
Stored size: 470 Bytes
Contents
require 'travis/cli' module Travis module CLI class Console < ApiCommand description "interactive shell" on '-x', '--eval LINE', 'run line of ruby' do |c, line| c.instance_eval(line) exit end 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
126 entries across 126 versions & 1 rubygems