@staticmethod
    def normalize_cmd(command):
        command = command.rstrip("\n")
        command += '\n'
        return command
Normalize CLI commands to have a single trailing newline.
dataset/ETHPy150Open ktbyers/netmiko/netmiko/base_connection.py/BaseSSHConnection.normalize_cmd