Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Welcome to the System.CommandLine wiki!
Give your users a great experience with your .NET console applications while letting you focus on the application you're writing.
System.CommandLine is a set of libraries for building command line applications, including parsing, invocation, and rendering.
System.CommandLine sets out to:
- Reduce the time programmmers spend providing a command line API (CLI)
- Improve the experience of the users of CLI programs
You can read more about it here:
Try it out
The simplest way to create your parser is with the experimental DragonFruit app model app model. This works well if you have a single layer of commands (no subcommands).
For more complex scenarios, you can use the core APIs directly.