Overview
The Nest Commander package allows developers to build CLI applications with the same structure and framework as NestJS, using the popular Commander package. By leveraging decorators and classes, developers can easily create new command-line applications in a familiar environment. The package ensures compatibility with NestJS’ Dependency Injection and provides a structured approach to defining CLI commands.
Features
- CI Commitizen friendly: Enables easy integration with CI pipelines and Commitizen for streamlined development processes.
- Coffee codebeat badge: Provides code quality insights and improvements through coffee codebeat badges.
- NestJS Commander: Utilizes the popular Commander package to bring NestJS-like structure to CLI applications.
Installation
To install the Nest Commander package, follow these steps:
- Install the
nest-commander
package (name pending) by running:npm install nest-commander
. - Install
@nestjs/common
and@nestjs/core
packages as dependencies.
Summary
The Nest Commander package offers developers a structured way to build CLI applications using the familiar NestJS framework. By leveraging decorators and classes, developers can define commands and options easily, while maintaining compatibility with NestJS’ Dependency Injection system. This package is a convenient solution for those looking to create CLI applications with a consistent and organized approach.