def run
parse_options
config.__freeze__(:user_name) unless config.user_name.empty?
show_splash
setup_task_manager
load_config
load_plugins
eval_init_block
config.__unfreeze__(:user_name)
Termtter::API.setup
config.system.eval_scripts.each do |script|
begin
eval script
rescue Exception => e
handle_error(e)
end
end
config.system.run_commands.each {|cmd| 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