1.0.2 • Published 1 year ago

node-structure-cli v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Node Structure CLI

Node Structure CLI is a powerful command-line tool designed to streamline the process of creating a robust project structure for your Node.js and Express applications.

Authors

Installation 📖

Package Install

Install the package with your favorite package manager:

  • npm (global preference)
npm i -g node-structure-cli
  • npm (local)
npm i node-structure-cli
  • pnpm (global preference)
pnpm install -g node-structure-cli

Usage ⚙️

  • Global To create a project structure run:
node-structure-cli init

To list the directories run the command:

node-structure-cli list
  • Local
  1. Add in the packege.json: Any codename and the command to be executed locally.
"scripts": {
    "<any name>": "node-structure-cli",
}
  1. We execute with: Do not forget to replace any name with the name of your choice.
npm run any-name <option>

Commands

node-structure-cli --version
node-structure-cli --help
node-structure-cli list
node-structure-cli l
node-structure-cli init
node-structure-cli i

Requirements

  • Nodejs

Dependencies

  • inquirer
  • picocolors
  • commander

Contributors