Skip to content

Ability to use HelpText.AutoBuild() without parser results #88

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

Open
zii-dmg opened this issue Jun 20, 2013 · 2 comments
Open

Ability to use HelpText.AutoBuild() without parser results #88

zii-dmg opened this issue Jun 20, 2013 · 2 comments

Comments

@zii-dmg
Copy link
Contributor

zii-dmg commented Jun 20, 2013

Using commit e00dd9f.

Sometimes Parser.ParseArguments throws exceptions (for example, InvalidOperationException: "Sequence contains more than one matching element") and ParseResult doesn't created, but I still need to show help usage to user. Without ParserResult I can't do this easily.

Or maybe I doesn't understand how to use help usage auto generation on exceptions.

@mystcreater
Copy link

Today, I had this exception because I tried to use an options class which inherit from another options class. Seems the library doesn't support inheritance.

@gsscoder
Copy link
Owner

As you can see, @mystcreater, FSharp façade API as been moved to specific branch (this was not the case when @zii-dmg posted).

Since the work on pre-release 2.0 has been halted for a while (but as you can see from GitHub activity I'm really back to work hard on the project), as now I prefer to invest time in stabilizing library C# kernel.

I've added a very simple F# example as fsharp script.

Once 2.0 stabilizes (or if some developer want to help) and there's interest in: I'll be very glad to continue development of an F# surface API (CommandLine.FSharp.dll).

For the moment I suggest to use directly CommandLine.dll directly (since issues are closed every day, I suggest you compile from sources -- when a 2.0.x-pre is released in NuGet, I'll ping it via Twitter).

I'm too currently using 2.0.x-pre from F# for a little project I plan to open in next weeks, so if possible, I ask you to post the these types (so discussion can continue).

Please note that 2.0 is still pre-release quality software: also if very latest source are (as said) each day more stable...

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

No branches or pull requests

3 participants