-
-
Notifications
You must be signed in to change notification settings - Fork 165
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
refactor(cli): use citty
rewrite cli
#1517
base: main
Are you sure you want to change the base?
Conversation
- Use `citty` rewrite cli - Refactor all commands to citty - Defaults to start a dev server Resolved: farm-fe#1123
🦋 Changeset detectedLatest commit: 688e12f The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Worked now, waiting for review |
- Fix alias of common args wont be resolved by citty Related Issue: farm-fe#1123
Thanks. I will check the code later. |
- Remove experimental warning prevention - Split all commands into separate files
@ErKeLost Hi! I created three issues in Do you think we should manually deal with the problem caused by the global parameter first, or do you think we should wait for upstream to implement these features before we deal with this pr? |
I think we can wait for a while. We originally wanted to change city. One is speed and another very important point is functional style and elegance of code. Now it seems that it has deviated from the original intention. We don’t need to do a lot of compatibility to complete it. This cli is unreasonable. We can see if citty is willing or supports these functions. |
OK, I had submitted a pull request to solve one of the issues and waiting for their review. I'll continue on this pull request once these issues of |
@ErKeLost Hi! I found that citty have not maintained for a long time, so I started a new project named |
I saw this project which is very interesting. The most important thing about whether we can replace the standard is stability. I can listen to @wre232114 thoughts. |
I have tested on all different platforms with env of node 18 and node 20, it works properly. Of course I'm still not sure that napi will work stably, but if you have the time I'm glad if you can try it out 💯 |
Description:
citty
rewrite cliResolved: #1123