You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems better than the random experimental package we're using now. But not sure if it can handle dispatch-style commands (where the allowed/recognized set of trailing options depends on an initial command verb).
We could start by using this for the subcommands that don't do dispatching -- in particular fix up the hacky pmi command parsing.
The text was updated successfully, but these errors were encountered:
Replace PMI's home-grown command line parsing with the new System.CommandLine
version.
Syntax changes slightly as the "suffix" options (eg `PREPALL-QUIET`) now need
to be separated out (`PREPALL --quiet`). Only real "breaking" change is that the
method index for `PREPALL` and `PREPONE` is now a named option.
With this new package we get built in help and (in some shells) command line
completion.
I plan to eventually migrate all the utilites over to this package as the one
they are using is now orphaned and unsupported. See dotnet#193.
Might be simpler to first move our tools to using https://github.com/natemcmaster/CommandLineUtils, this would decouple us from the System.CommandLine namespace so we could then migrate to the above incrementally, as needed.
https://github.com/dotnet/command-line-api
Seems better than the random experimental package we're using now. But not sure if it can handle dispatch-style commands (where the allowed/recognized set of trailing options depends on an initial command verb).
We could start by using this for the subcommands that don't do dispatching -- in particular fix up the hacky pmi command parsing.
The text was updated successfully, but these errors were encountered: