Update cu.py
add class docstring
@@ -16,7 +16,12 @@ from moler.exceptions import CommandFailure
class Cu(CommandChangingPrompt):
+ """
+ Command to connect COM port using cu. Example output:
+ $ cu -l /dev/ttyS21 -s 19200 -E -
+ Connected.
+ """
def __init__(self, connection, serial_devname, prompt=None, newline_chars=None, target_newline="\n", runner=None):
"""
:param connection: Moler connection to device, terminal when command is executed.
