Skip to content
Tarik Guney edited this page Jul 25, 2020 · 8 revisions

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.

Changelog

Find out what is changed in every release here: https://github.com/tarikguney/command-core/wiki/Changelog

WIKI Reference

  1. To find out how to get started with CommandCore, check out How to use the library in your project
  2. Check out Generate help automatically page to learn more about one of the most important features of CommandCore Library.
  3. CommandCore comes with its in-house IoC Container which is simple to use. Check out Dependency Injection with LightIoC Container to learn more.
  4. Learn more about how to associate multiple commands and options with the same type and property.
  5. Visit Set default values for option properties.
Clone this wiki locally