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

Generate a Fig Spec file for fig.io using helper function #59

Open
1 task
cpreston321 opened this issue Aug 29, 2023 · 3 comments
Open
1 task

Generate a Fig Spec file for fig.io using helper function #59

cpreston321 opened this issue Aug 29, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@cpreston321
Copy link
Member

Describe the feature

fig.io provides some additional cli's that they generate a spec for but I really do think the citty DX will be brought to a new level in combination.

Helpful links: https://fig.io/docs/guides/integrating/getting-started

Commander.js Spec Generator: https://www.npmjs.com/package/@fig/complete-commander?activeTab=code

Additional information

  • Would you be willing to help implement this feature?
@cpreston321 cpreston321 changed the title Generate a Fig Spec file for fig.io Generate a Fig Spec file for fig.io using helper function Aug 29, 2023
@pi0
Copy link
Member

pi0 commented Aug 29, 2023

"Yes!";

@pi0 pi0 added the enhancement New feature or request label Aug 29, 2023
@cpreston321
Copy link
Member Author

cpreston321 commented Aug 29, 2023

@pi0 Not to mention once this is implemented you could easily publish spec within an action (automatically): https://fig.io/docs/guides/integrating/push-to-autocomplete-action

This would be helpful for everyone using: nuxi, unbuild and etc 🚀

@pi0
Copy link
Member

pi0 commented Aug 29, 2023

Indeed. I had been for long thinking to support auto completions. It would probably best if we also consider an abstraction first in citty for other shells integration (it shouldn't be something hard...) and also fig ingration would make it awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants