Cysharp / ConsoleAppFramework

Zero Dependency, Zero Overhead, Zero Reflection, Zero Allocation, AOT Safe CLI Framework powered by C# Source Generator.
MIT License
1.54k stars 88 forks source link

Change usage name #84

Closed mdnapo closed 1 year ago

mdnapo commented 1 year ago

Is there any way to change the usage name, besides renaming your project? image To be more specific I'd like to replace Retrospect.CLI in the image above with something else.

neuecc commented 1 year ago

Default is Path.GetFileNameWithoutExtension(Assembly.GetEntryAssembly()!.Location); and can not configure it. I think good to add change usage name option to ConsoleAppOptions, thanks.

neuecc commented 1 year ago

I've released 4.2.2, it has ConsoleAppOptions.ApplicationName to configure it.