First push the "~" key then enter the following code:
Code - Effect:
process_cq cityname - Complete all buildings in queue in 1 turn create_unit - Create unit with given stats add_money 20000 - get 20000 denari give_trait - Given character gets given trait at indicated level