code: def remove(self, path, recursive=True):
          
          if recursive:
              cmd = ["rm", "-r", path]
          else:
              cmd = ["rm", path]
  
          self.remote_context.check_output(cmd)
docs: Remove file or directory at location `path`.