build terminal_client.rb