Sha256: cf9466b6dfe650ae11b5a892360ee9415c7c2cfa423b4a17faa3b82b20c862a8
Contents?: true
Size: 524 Bytes
Versions: 2
Compression:
Stored size: 524 Bytes
Contents
# frozen_string_literal: true using Rodbot::Refinements module Rodbot class CLI module Commands class Console < Rodbot::CLI::Command desc 'Start the Rodbot console' def rescued_call(**) Rodbot.boot Rodbot::SERVICES.each { "rodbot/services/#{_1}".constantize } require 'irb' IRB.setup nil IRB.conf[:MAIN_CONTEXT] = IRB::Irb.new.context require 'irb/ext/multi-irb' IRB.irb nil, Rodbot end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rodbot-0.5.1 | lib/rodbot/cli/commands/console.rb |
rodbot-0.5.0 | lib/rodbot/cli/commands/console.rb |