code: def clean(args):
      
      p = OptionParser(clean.__doc__)
      opts, args = p.parse_args(args)
  
      for link_name in os.listdir(os.getcwd()):
          if not op.islink(link_name):
              continue
          logging.debug("remove symlink `{0}`".format(link_name))
          os.unlink(link_name)
docs: %prog clean
  
      Removes all symlinks from current folder