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 quick start, working boilerplate repository for newcomers #15

Closed
kutsan opened this issue Jul 11, 2017 · 7 comments
Closed

Create quick start, working boilerplate repository for newcomers #15

kutsan opened this issue Jul 11, 2017 · 7 comments

Comments

@kutsan
Copy link

kutsan commented Jul 11, 2017

Like https://github.com/gaearon/react-hot-boilerplate.

@vadimdemedes
Copy link
Owner

Agree, this would be useful.

@vadimdemedes
Copy link
Owner

Released generator-ink-cli - a generator for Yeoman to quickly scaffold out a CLI based on Ink. Will add it tomorrow to the readme, just thought you might want to play with it before anyone else :)

@kutsan
Copy link
Author

kutsan commented Jul 16, 2017

Hey, thanks! Looks really cool.

@kutsan
Copy link
Author

kutsan commented Jul 16, 2017

By the way, you may want to show generating the boilerplate with new built-in npx.
Type npx -p yo -p generator-ink-cli -- yo ink-cli.

@vadimdemedes
Copy link
Owner

This looks bit painful, tbh. Let's give it time to mature a little, fix bugs, etc.

@kutsan
Copy link
Author

kutsan commented Jul 16, 2017

Yeah, but there is a issue about that. Probably we could just write npx yo ink-cli in future.

@konsumer konsumer mentioned this issue Mar 13, 2019
@konsumer
Copy link

konsumer commented Mar 13, 2019

Another approach would be to name an npm package create-ink, so npm init ink will call npx create-ink for 0-install initial demo project. You can read more about it here. If you make a bin named create-ink in that project, that does the actual demo-creation, you should be all set.

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

3 participants