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

Core plugin installation utility #695

Open
2 tasks done
matthyk opened this issue Jan 9, 2024 · 4 comments
Open
2 tasks done

Core plugin installation utility #695

matthyk opened this issue Jan 9, 2024 · 4 comments

Comments

@matthyk
Copy link

matthyk commented Jan 9, 2024

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the feature has not already been requested

🚀 Feature Proposal

A CLI utility within fastify-cli. The process could be similar to the one you go through when you run npm init.

Motivation

If you create a new project using fastify-cli, you will normally also use plugins, e.g. for authentication or database access. However, I find it unnecessarily time-consuming to find out the names of the desired plugins, i.e. whether it is now called fastify-postgres, @fastify/postgres or @fastify/pg. Since a list of core plugins is also maintained in the docs, fastify-cli could contain a utility for the installation of core plugins. This could also be categorised according to subject areas, e.g. authentication, database access, security, etc.

Example

No response

@mcollina
Copy link
Member

mcollina commented Jan 9, 2024

Would you like to work on this?

I recall there was a UI tool build by @Eomm... I think we could put that on the website.

@matthyk
Copy link
Author

matthyk commented Jan 9, 2024

Absolutely! Do you have any recommendations for a package to build an interactive CLI?

@mcollina
Copy link
Member

mcollina commented Jan 9, 2024

inquirer is the best one.

@matthyk
Copy link
Author

matthyk commented Jan 9, 2024

First draft #696

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