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

Plugins to add their CLI #8

Open
azukaar opened this issue Jun 5, 2019 · 0 comments
Open

Plugins to add their CLI #8

azukaar opened this issue Jun 5, 2019 · 0 comments

Comments

@azukaar
Copy link
Owner

azukaar commented Jun 5, 2019

For now, plugins can only hook into existing CLIs.
Allow plugins to define their own CLIs.

- provider-react
    - add-component.gs
g -p react add-component

Need re-design on the architecture, since this is not ideal in term of allowing users to use custom CLI without explicitly calling the plugins. May be g add-component or g react-add-component should look into the plugins folder without the --provider option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant