unjs / citty

🌆 Elegant CLI Builder
Other
729 stars 23 forks source link

Extending citty using user commands #151

Open Barbapapazes opened 2 months ago

Barbapapazes commented 2 months ago

Describe the feature

Hey 👋,

I read this: https://github.com/nuxt/cli/discussions/3#:~:text=%F0%9F%A7%A9%20Modular,single%20core%20implementation. and you're talking about "commands can be implemented by users, module authors, core, and also ad-hoc modules".

Adding the ability to extends commands by some provided by users could be very useful for a lot of projects and could avoid to rewrite a new CLI all the time. For example, adding capability to the NuxtHub CLI could help a lot to provide better integrations with ORM. Even the NuxtHub CLI could be part of Nuxt CLI.

Is it still something you're working on? Is it still something needed or wanted and if yes, do you thing we could start working on it?

Additional information