def run
parse_options
show_splash unless config.system.cmd_mode
setup_task_manager
load_config
load_plugins
eval_init_block
begin
Termtter::API.setup
rescue Rubytter::APIError => e
handle_error(e)
exit!
end
config.system.eval_scripts.each {|script| rescue_error { eval script }}
config.system.run_commands.each {|cmd| rescue_error { execute(cmd) }}
unless config.system.cmd_mode
@task_manager.run()
call_hooks(:initialize)
add_task(:name => :call_hooks_after_launched, :after => 1) do
call_hooks(:launched)
end
call_hooks(:init_command_line)
end
end