@adinet/project-structure-cli v1.0.5
@adinet/project-structure-cli
Description
@adinet/project-structure-cli is a command-line interface (CLI) tool to create project structures. It allows you to easily create a new project with specific subfolders or add new applications with predefined folder structures.
Installation
To install the CLI globally, run:
npm install -g @adinet/project-structure-cliUsage
Creating a New Project
To create a new project with a specific structure, use the following command:
adp new <project-name> --app <app-name>This will create the following structure:
./<project-name>/<app-name>/
├── documents
├── server
├── client
└── dbExample
adp new my-project --app my-appAdding a New App to an Existing Project
To add a new app to an existing project, use the following command:
adp app <app-name>This will create the following structure in the current directory:
./<app-name>/
├── documents
├── server
├── client
└── dbExample
adp app my-new-appSkipping Specific Folders
You can skip creating specific folders using the following options:
--skip-doc: Skip creating thedocumentsfolder--skip-db: Skip creating thedbfolder--skip-server: Skip creating theserverfolder--skip-client: Skip creating theclientfolder
Example
adp new my-project --app my-app --skip-doc --skip-dbThis will create the following structure:
./my-project/my-app/
├── server
└── clientContributing
If you would like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.
License
This project is licensed under the MIT License.
Author
Checho