lib/fulmar/domain/task/console.rake in fulmar-1.5.2 vs lib/fulmar/domain/task/console.rake in fulmar-1.6.0

- old
+ new

@@ -1,7 +1,12 @@ desc 'Open an interactive terminal within fulmar' -task :console do +task :console, [:environment] do |t, args| require 'irb' require 'irb/completion' ARGV.clear + if args[:environment] && args[:environment].include?(':') + environment, target = args[:environment].split(':') + configuration.environment = environment + configuration.target = target + end IRB.start -end \ No newline at end of file +end