Sha256: c3aed75d3d6289a464a40f707279729b0cfc74d9cff56f793917d4dd81763841

Contents?: true

Size: 366 Bytes

Versions: 13

Compression:

Stored size: 366 Bytes

Contents

desc 'Open an interactive terminal within fulmar'
task :console, [:environment] do |_t, args|
  require 'irb'
  require 'irb/completion'
  ARGV.clear
  if args[:environment] && args[:environment].include?(':')
    environment, target = args[:environment].split(':')
    config.environment = environment.to_sym
    config.target = target.to_sym
  end
  IRB.start
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
fulmar-2.2.6 lib/fulmar/domain/task/console.rake
fulmar-2.2.5 lib/fulmar/domain/task/console.rake
fulmar-2.2.4 lib/fulmar/domain/task/console.rake
fulmar-2.2.3 lib/fulmar/domain/task/console.rake
fulmar-2.2.2 lib/fulmar/domain/task/console.rake
fulmar-2.2.1 lib/fulmar/domain/task/console.rake
fulmar-2.2.0 lib/fulmar/domain/task/console.rake
fulmar-2.1.2 lib/fulmar/domain/task/console.rake
fulmar-2.1.1 lib/fulmar/domain/task/console.rake
fulmar-2.1.0 lib/fulmar/domain/task/console.rake
fulmar-2.0.2 lib/fulmar/domain/task/console.rake
fulmar-2.0.1 lib/fulmar/domain/task/console.rake
fulmar-2.0.0 lib/fulmar/domain/task/console.rake