Use string interpolation for .history command; rename out variable to history an store the history in it as an array in the proper order so that printing it is just a join operation
Use string interpolation for .history command; rename out variable to history an store the history in it as an array in the proper order so that printing it is just a join operation

sterpe/coffee-fmt