-
Notifications
You must be signed in to change notification settings - Fork 19
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
Can you provide better examples in docs? #21
Comments
Hi. Attributes used from System.ComponentModel namespace whenever possible eg.
|
Not sure if anyone will ever see this, but after looking at the tests, still have no idea how to use the help document in an app. Are there any docs? |
@ernestochaves Can you please be more specific in what you are asking? If you are asking how to output the help text, please see the following test: args/Args.Tests/ConsoleFormaterTest.cs Lines 57 to 65 in e7bf8e4
To output the help text to the console, then pass in the generated text to |
Thanks. I see how that would work now. I figured in my mind that after configuration the app would just show help message after -help switch was invoked. Very kind of you to answer. Thanks. |
@ernestochaves No problem. This issue is still open because I acknowledge there isn't enough documentation for most use-cases. It isn't the goal of Args to "take over" the command-line experience, but simply to make it easier to read data passed into your console application. Thanks! |
Can you add more examples how to use your API. E.g. Help section?
Calling CreateAndBind simply throws exceptions on wrong params.
The text was updated successfully, but these errors were encountered: