-
Notifications
You must be signed in to change notification settings - Fork 3
Home
A simple command-line parsing library that helps to create CLI apps using MVC pattern.
There are many command-line parsing libraries out there, but most of them are unnecessarily complicated. Command Core library is built using a well-understood design pattern: MVC. It cleanly separates the building blocks and makes the CLI development a scalable, extensible, and more importantly simpler endeavor.
Each verb and their arguments are represented with three simple classes inheriting from the following base classes: VerbBase
, VerbViewBase
, and VerbOptionsBase
. The verbs are parsed into these classes and the classes are populated with the necessary properties for the consumers to access. For instance, your Verb class will include a property called Options
through which you can easily access the CLI arguments passed as part of the verb.
Find out what is changed in every release here: https://github.com/tarikguney/command-core/wiki/Changelog
- To find out how to get started with CommandCore, check out How to use the library in your project
- Check out Generate help automatically page to learn more about one of the most important features of CommandCore Library.
- CommandCore comes with its in-house IoC Container which is simple to use. Check out Dependency Injection with LightIoC Container to learn more.
- Learn more about how to associate multiple commands and options with the same type and property.
- Visit Set default values for option properties.