Remove newline from CLI class