if (argv.depth) {
  if (Number.isInteger(argv.depth as number)) {
    options.depth = argv.depth as number;
  }
}