1.0.2 • Published 12 months ago

nestjs-module-cloner v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

Nestjs Module Cloner

A command-line tool for cloning and renaming NestJS modules and their associated resources. This tool helps streamline the development process by automating the copying and renaming of modules, resources, and their references within a NestJS project.

Table of Contents

Features

  • Clone existing NestJS modules and their resources.
  • Automatically rename files and update references.
  • Recursively handles nested directories and files.
  • Simple command-line interface.

Installation

To install the package, run the following command:

npm install nestjs-module-cloner -g

Usage

To use the tool, navigate to the root of your NestJS project in the terminal and run the following command:

nmc <sourceModule> <sourceResourceName> <newModule> <newResourceName>
  • sourceModule : The name of the existing module you want to clone.
  • sourceResourceName : The name of the resource you want to rename.
  • newModule : The name for the new module being created.
  • newResourceName : The new name for the resource.
nmc products product articles article

Contributing

Contributions are welcome! Please follow these steps to contribute:

  • Fork the repository.
  • Create a new branch.
  • Make your changes and commit them.
  • Push to the branch.
  • Open a pull request on the develop branch.
1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago