node-structure-cli
v1.0.2
Published
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.
Downloads
7
Maintainers
Readme
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
- Add in the packege.json: Any codename and the command to be executed locally.
"scripts": {
"<any name>": "node-structure-cli",
}
- 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