dahlsailrunner / knowyourtoolset-blog

MIT License
0 stars 0 forks source link

2023/05/system-commandline/ #8

Open utterances-bot opened 5 months ago

utterances-bot commented 5 months ago

Using the System.CommandLine Package to Create Great CLI Programs | Know Your Toolset

System.CommandLine adds a great usability boost to almost any .NET console app you may create.

https://knowyourtoolset.com/2023/05/system-commandline/

calacayir commented 5 months ago

Good and detailed article. What if you could accomplish most of this with few lines of code? I created a library for the purpose, it uses a source generator to convert your classes to CLI commands and properties to CLI options or CLI arguments by using attributes. I hope you check it out: https://github.com/dotmake-build/command-line