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

Introduce CAC #109

Closed
1 task done
Barbapapazes opened this issue May 8, 2023 · 3 comments
Closed
1 task done

Introduce CAC #109

Barbapapazes opened this issue May 8, 2023 · 3 comments

Comments

@Barbapapazes
Copy link
Member

Barbapapazes commented May 8, 2023

Describe the feature

Hello,

In order to easily add new command and understand how the CLI works (because there is more and more feature), I think that we could use a tool like CAC, https://github.com/cacjs/cac, to achieve this.

Currently, there is no -h flag and there is many more flag to come.

#104 with a --prevenance
#105 with a --publish
nuxt/nuxt#20675 with a flag to create a PR (where we could personalize changelog header)

Additional information

  • Would you be willing to help implement this feature?
@pi0
Copy link
Member

pi0 commented May 8, 2023

Hey :) Our CLI is powered by unjs/citty. Check src/cli.ts and src/command. For now args are not documented (because of backward compatibility) but once we add meta, --help will show them..

@pi0 pi0 closed this as completed May 8, 2023
@Barbapapazes
Copy link
Member Author

Sorry to ask but I dit not find any unjs/citty in the repo? 🤷‍♂️

@Barbapapazes
Copy link
Member Author

Ok, I tried a bit citty and when it will be available for changelogen, it would be awesome! Can't wait!

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