feat: create cli commands to initialize the project structure
inannan423 opened this issue · comments
Orange Cheng commented
Is your feature request related to a problem? Please describe.
For example, I want to create an island.js project that I can generate the project structure and default files with a single line of command instead of creating them one by one.
npx create-island@latest my-website
Describe the solution you'd like
Create a CLI project and declare the commands in package.json:
{
"name": "create-island",
"version": "1.0.0",
"bin": {
"create-island": "./bin/create-island.js"
}
}
Write logic in bin/index.js to complete the task.
Describe alternatives you've considered
No response
Additional context
No response
Validations
- Read the docs.
- Read the Contributing Guidelines.
- Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.
Felix commented
🙋♂️
Orange Cheng commented
cool! tks.👍