code: def erase_line(self, method=EraseMethod.ALL):
          
          return self.chained(erase.line(method=method))
docs: Erase a line, or part of a line.
              Arguments:
                  method : One of these possible values:
                              EraseMethod.END or 0:
                                  Clear from cursor to the end of the line.
                              EraseMethod.START or 1:
                                  Clear from cursor to the start of the line.
                              EraseMethod.ALL or 2:
                                  Clear the entire line.
                           Default: EraseMethod.ALL (2)