code: function main() {
      var program = require('commander')
      program.usage('FILE.d.ts... [options]')
      program.commandHelp = function() { return "  Convert *.d.ts files to TypeScript Declaration Core\n" }
      program.option('--pretty', 'Print pretty JSON, for human inspection')
          .option('--silent', 'Print nothing')
          .option('--lib', "Include TypeScript\'s lib.d.ts file")
      program.parse(process.argv)
  
      if (program.args.length < 1) {
          program.help()
      }
  
      var inputs = program.args.map(function(file) {
          return {
              file: file,
              text: fs.readFileSync(file, 'utf8')
          }
      })
      if (program.lib) {
          inputs.unshift({
              file: ">lib.d.ts",
              text: fs.readFileSync(__dirname + '/lib/lib.d.ts', 'utf8')
          })
      }
      var json = convert(inputs)
      if (program.silent)
          {}
      else if (program.pretty)
          console.log(util.inspect(json, {depth:null}))
      else
          console.log(JSON.stringify(json))
  }
docs: -------------------------------------------- Entry Point --------------------------------------------