Comment

Comment by gracehaz

This can be easily done by creating a npm script "generact path/to/boilerplate/component.js" and just running `npm run generact`.

The difference though is that you'll still be prompted for component path and name, but I'd gladly accept a PR adding options to CLI (maybe --path, --name?) to skip that part.

parent gracehaz 8 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton