Ink: Create quick start, working boilerplate repository for newcomers

Created on 11 Jul 2017  路  7Comments  路  Source: vadimdemedes/ink

Most helpful comment

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

All 7 comments

Agree, this would be useful.

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 :)

Hey, thanks! Looks really cool.

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.

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

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

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

isaacs picture isaacs  路  4Comments

treshugart picture treshugart  路  4Comments

zkat picture zkat  路  3Comments

zkat picture zkat  路  7Comments

sindresorhus picture sindresorhus  路  7Comments