get message input from command line interface