sanyuan0704 / island.js

📝 Vite & MDX powered static site generator. Base on islands architecture

Home Page:https://islandjs.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cli command params support

sanyuan0704 opened this issue · comments

Is your feature request related to a problem? Please describe.

Currently, Island.js has a cli but it doesn't support inline params, such as island dev docs --port=8080.

Describe the solution you'd like

Support cli inline params and pass on the params to Vite.

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.

Is there anyone who wants to try this?

Shall I give it a try?If I don't PR within five days, I'll give up.

Thanks, if I can do it, I will pull the request before the 23rd

TODO: cli params for build and preview command

Thank you for merging, I will continue to follow up on this issue🎈