planetarium / libplanet-explorer

Libplanet Explorer now belongs to the Libplanet monorepo. This repository remains read-only as historical archive.
https://github.com/planetarium/libplanet/tree/main/Libplanet.Explorer
10 stars 20 forks source link

Switch from CommandLineParser to System.CommandLine #82

Closed dahlia closed 3 years ago

dahlia commented 5 years ago

We currently use the CommandLineParser package to parse CLI options and arguments. However, it having an option that takes multiple values and multiple arguments at a time causes a parsing bug, because it does not follow the convention (--option foo bar baz instead of traditional --option foo --option bar --option baz).

On the other hand, the System.CommandLine package is backed by Microsoft and used by .NET Core's dotnet command. It seems de facto of the future for CLI parser, so I suggest we switch to this new package.

dahlia commented 3 years ago

As we've already migrated to Cocona, which is more decent than both CommandLineParser and System.CommandLine, I'm going to close this issue.