Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate with popular NuGet packages for parsing command line #17

Open
5 tasks
Athari opened this issue Mar 8, 2018 · 4 comments
Open
5 tasks

Integrate with popular NuGet packages for parsing command line #17

Athari opened this issue Mar 8, 2018 · 4 comments
Assignees
Labels
Milestone

Comments

@Athari
Copy link
Owner

Athari commented Mar 8, 2018

Integrate with popular command-line parsers to allow:

  1. Zero-effort improvement to formatting of help texts. Should match the original tool's formatting closely, but improve upon it.

  2. Easy customization options like colors, offsets, headers, padding etc.

  3. Deep customization by providing source data in a ready-to-use form if the original tool doesn't. Code for generating documents from the points above should serve as a sample in this case.

Likely candidates:

Evaluate command line packages:

@Athari Athari added this to the 1.x milestone Mar 8, 2018
@Athari Athari self-assigned this Mar 8, 2018
@drewnoakes
Copy link

Check out System.CommandLine from the corefxlab. There's a chance it might become the built-in way to do this for .NET.

@Athari
Copy link
Owner Author

Athari commented Mar 8, 2018

@drewnoakes Is it available as a NuGet package? I can't find it. It has some limitations and questionable implementation in a few places, but I like its API. If it isn't available on NuGet though, I can't support it in a sensible way. It's also been in CoreFXLabs for 3 years already, which isn't promising.

[Edit] Found the package on MyGet. Better than nothing, but it certainly complicates things. Microsoft also stole System.CommandLine NuGet identifier, but they aren't using it.

@drewnoakes
Copy link

I'm not associated with the project and know as much as you. Only thought you might like to look at it as well as those in your list.

@Athari Athari modified the milestones: 1.x, 1.1 Mar 15, 2018
@fedarovich
Copy link

One more nice command line parsing package for .Net Standard: https://github.com/natemcmaster/CommandLineUtils

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants