CLI: Handle ValueError when parsing input line