1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #1356 from drbrain/fix_fog_console_SIGINT_handling

Added SIGINT handler to the fog console
This commit is contained in:
Wesley Beary 2012-12-07 14:45:30 -08:00
commit 66f9f49567

View file

@ -37,6 +37,10 @@ else
@irb.context.prompt_mode = :FOG
@irb.context.workspace = IRB::WorkSpace.new(binding)
trap 'INT' do
@irb.signal_handle
end
Formatador.display_line('Welcome to fog interactive!')
Formatador.display_line(":#{Fog.credential} provides #{providers}")
providers = Fog.providers