terminal readline tool written in golang