CLI input and output for Hack