Add a way to generate a save-state JSON spec
commitce23d9991ded0d8e21e30d80da02b5bdefd04f92
authorTatiana Racheva <tatianaracheva@fb.com>
Wed, 26 Jun 2019 03:07:22 +0000 (25 20:07 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 26 Jun 2019 03:11:11 +0000 (25 20:11 -0700)
treec7fadef70d52537190dcbfc89423837d8fa496c8
parenta74780ce1679f8a595252e52e17d13fb807017ef
Add a way to generate a save-state JSON spec

Summary: Up to this diff, I'm only using the new function to generate a valid example for the --save-with-spec arg, but I mean to use it for actual invocation of hh_server later.

Reviewed By: young-k

Differential Revision: D15958529

fbshipit-source-id: 279ce5fa3abd079ac2c4c9bc514ad29c5325e445
hphp/hack/src/utils/cli_args.ml
hphp/hack/src/utils/cli_args_sig.ml
hphp/hack/test/unit/utils/cli_args/cli_args_test.ml