grommet / grommet-cli

Deprecated, use create-react-app for v2 instead. Command Line interface for grommet
Apache License 2.0
28 stars 18 forks source link

Component micro generators #12

Closed RyanCCollins closed 7 years ago

RyanCCollins commented 7 years ago

I use code generation to speed up my workflow when working with my own boilerplate. I was working today to make this a standalone module so that it can be ported to my work with Grommet / HPE. Before I go ahead with doing it as a standalone module, I wanted to ask, is this a feature that the Grommet CLI would benefit from?

Here is the documentation from my boilerplate project, although keep in mind some of this would not be relevant and are just implementation details. In making my own module, the hope would be to pair these down to the essentials, eliminating the files that wouldn't apply to a typical grommet project. If this is outside the scope of grommet-cli, then I will go ahead with an external module but figured I'd bring it up. Thanks!

EDIT: I came up with an mvp of sorts, so figure that a picture is worth more than documentation component-generator container-generator Generated files screen shot 2017-01-10 at 10 46 16 pm

RyanCCollins commented 7 years ago

I am going to close this and @alansouzati and I will discuss offline when the time is appropriate.