lib/fulmar/domain/task/console.rake in fulmar-1.10.1 vs lib/fulmar/domain/task/console.rake in fulmar-2.0.0
- old
+ new
@@ -1,12 +1,12 @@
desc 'Open an interactive terminal within fulmar'
-task :console, [:environment] do |t, args|
+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
+ config.environment = environment.to_sym
+ config.target = target.to_sym
end
IRB.start
end