code: def clean():
      
      if os.path.isdir(options.path):
          logger.info('cleaning working directory: ' + options.path)
          for filename in os.listdir(options.path):
              filepath = os.path.join(options.path, filename)
              if os.path.isdir(filepath):
                  shutil.rmtree(os.path.join(options.path, filename))
              else:
                  os.remove(filepath)
docs: Remove all of the files contained in workdir.options.path