Add command line options to new node-based gentest (#1499)

Summary:
Pull Request resolved: https://github.com/facebook/yoga/pull/1499

This uses the minimist library to parse the command line easily for flags and options. I added over the same ones in the ruby script (-f and -s).

Reviewed By: yungsters, NickGerleman

Differential Revision: D51877810

fbshipit-source-id: 643606cad25609ed2567bb63470818b81ebef531
This commit is contained in:
Joe Vilches
2023-12-14 11:48:22 -08:00
committed by Facebook GitHub Bot
parent 98552078b1
commit fba32ebf14
3 changed files with 36 additions and 5 deletions

View File

@@ -15,6 +15,7 @@
"babel-register-esm": "^1.2.5",
"@babel/core": "^7.23.0",
"@babel/preset-typescript": "^7.23.0",
"@tsconfig/node18": "^18.2.2"
"@tsconfig/node18": "^18.2.2",
"@types/minimist": "^1.2.5"
}
}