VersionOptionFromAssemblyAttributes - no documentation for template
digitaldias opened this issue · 3 comments
I'm setting up a small app and wanted to customize the version string returned by --version.
I need help finding where in the documentation the template argument's content should look like.
Currently, I have this:
app.VersionOptionFromAssemblyAttributes("", Assembly.GetExecutingAssembly());
Which, of course, won't work! :)
Can someone please advise?
Checkout how app.VersionOptionFromAssemblyAttributes
is implemented. It's a helper method that just calls .VersionOption
. If you want to customize things, use .VersionOption
instead
CommandLineUtils/src/CommandLineUtils/CommandLineApplicationExtensions.cs
Lines 145 to 182 in 81199c7
This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please comment if you believe this should remain open, otherwise it will be closed in 14 days. Thank you for your contributions to this project.
Closing due to inactivity.
If you are looking at this issue in the future and think it should be reopened, please make a commented here and mention natemcmaster so he sees the notification.