message: refactor: update symbol extractor test tool to work with ESM
  The symbol extractor test tool now runs with ESM too. This commit
  makes it ESM compatible.
  PR Close
diff: @@ -11,10 +11,8 @@ import * as fs from 'fs';
  import {SymbolExtractor} from './symbol_extractor';
  -if (require.main === module) {
  const args = process.argv.slice(2) as [string, string];
  process.exitCode = main(args) ? 0 : 1;
  -}
  /**
  * CLI main method.
  