docs: function clean(fld, leaveRoot = false) {
      return __awaiter(this, void 0, void 0, function* () {
          if (!leaveRoot) {
              yield del([fld]);
          }
          else {
              const promises = [];
              fs.readdirSync(fld).forEach(child => {
                  promises.push(del(fld + '/' + child));
              });
              return Promise.all(promises);
          }
      });
  }