# File lib/termtter/client.rb, line 315 def run load_config() Termtter::API.setup() setup_logger() @init_block.call(self) if @init_block plug 'defaults' plug 'devel' if config.devel plug config.system.load_plugins config.system.eval_scripts.each do |script| begin eval script rescue Exception => e handle_error(e) end end config.system.run_commands.each {|cmd| call_commands(cmd) } unless config.system.cmd_mode @task_manager.run() call_hooks(:initialize) call_hooks(:launched) end end