Extending citty using user commands
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- cli
Research direction
Start by reviewing the linked Nuxt CLI discussion and the citty project context around commands implemented by users and module authors. Define the desired extension scope and integration expectations for projects such as NuxtHub CLI, including whether ORM integrations are supported; done means the feature requirements and implementation path are agreed.
Written by the indexing model from the issue text.
Description
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
- Would you be willing to help implement this feature?
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 63
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from unjs/citty
-
Support alias value with `=` (`-foo=bar`)Possibly taken @guoyangzhen claimed this 224 days ago. Openbug discussion enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
feat(usage): highlight defaultCommand in generated usage outputPossibly taken @jihtsan claimed this 13 days ago. Open
Difficulty 3/5 Half a day Newbie friendliness 45/100
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Should runCommand forward the selected subcommand result?Possibly taken @abhi-byte62 claimed this 19 days ago. Open
Difficulty 5/5 Over a week Newbie friendliness 38/100
-
Support a `multiple` Modifier for Arguments (Variadic Flags and Positionals)Possibly taken @LandonSchropp claimed this 105 days ago. Open
Difficulty 5/5 Over a week Newbie friendliness 55/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Merit-Systems/x402scan#1312 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Native Web
Difficulty 1/5 Under an hour Newbie friendliness 80/100
digitalfabrik/integreat-app#4517 ·
Maintainers usually reply within 2 days
-
TLS guide repeats certs/ in the certificate directoryPossibly taken @maheshrijal claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
prometheus/docs#3156 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
medusajs/dtc-starter#90 ·
Maintainers usually reply within 1 day