Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: create cli commands to initialize the project structure #165

Closed
3 tasks done
inannan423 opened this issue Feb 28, 2023 · 2 comments
Closed
3 tasks done

feat: create cli commands to initialize the project structure #165

inannan423 opened this issue Feb 28, 2023 · 2 comments

Comments

@inannan423
Copy link
Contributor

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.
@inannan423 inannan423 changed the title feat: create scaffolding commands initialize the project structure feat: create cli commands initialize the project structure Feb 28, 2023
@inannan423 inannan423 changed the title feat: create cli commands initialize the project structure feat: create cli commands to initialize the project structure Feb 28, 2023
@Shiinama
Copy link
Contributor

🙋‍♂️

Shiinama added a commit to Shiinama/island.js that referenced this issue Feb 28, 2023
add create-island cli in menorepo

sanyuan0704#165
Shiinama added a commit to Shiinama/island.js that referenced this issue Feb 28, 2023
Remove invalid print and replace npm

sanyuan0704#165
sanyuan0704 pushed a commit that referenced this issue Feb 28, 2023
* feat: add create-island

add create-island cli in menorepo

#165

* feat(cli): fix problems

Remove invalid print and replace npm

#165
@inannan423
Copy link
Contributor Author

cool! tks.👍

Shiinama added a commit to Shiinama/island.js that referenced this issue Mar 1, 2023
fix the shims in windows bug

sanyuan0704#165
sanyuan0704 pushed a commit that referenced this issue Mar 1, 2023
* feat: add create-island

add create-island cli in menorepo

#165

* feat(cli): fix problems

Remove invalid print and replace npm

#165

* fix: fix the cli

fix the shims in windows bug

#165
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants