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

Create a CLI to simplify developer tasks #183

Open
Errorname opened this issue Feb 26, 2019 · 2 comments
Open

Create a CLI to simplify developer tasks #183

Errorname opened this issue Feb 26, 2019 · 2 comments
Labels
feature New feature or request priority/medium

Comments

@Errorname
Copy link
Contributor

Errorname commented Feb 26, 2019

Is your feature request related to a problem? Please describe.
There is multiple package.json which contains multiple scripts. There is also multiple non-referenced scripts in server/ to handle prisma and integrations (algolia).

I want a unified CLI which would handle all of these scripts.

Describe the solution you'd like
Example of uses:

faq init                       # Bootstrap FAQ for a new developer
faq install                    # Installs all projects (client, server, landing, docs, ...)
faq client start               # Run client
faq prisma start --help        # Print help about running prisma container 
faq new-tenant --prod          # Create new tenant using the production env file
faq docs build                 # Build documentation
...

Resources:
https://www.npmjs.com/package/cliui

@hgwood
Copy link
Contributor

hgwood commented Feb 26, 2019

Lerna or yarn workspaces might be useful.

@hgwood
Copy link
Contributor

hgwood commented Feb 26, 2019

You might also want to ask the immutadot team how they handle multiple packages.

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

No branches or pull requests

2 participants