lazy-cli
v2.0.4
Published
A CLI tool which can be used for generating react, reflux and scss templates at YouSee
Downloads
6
Readme
This is a work in progress
What is this?
We work with a React, reflux and a tiresome folder structure. Since I'm lazy I want to automate this. So I made this cli for generating react components with stores and actions in the proper domain folder and with templates and imports.
How do I get it?
npm install -g lazy-cli
How do I use it?
Right now the cli only works with our domain structure. In version 3 this is gonna be a flag and it will create all the files at once in your current folder as default.
You need to cd
to a folder with access to components/
and flux/
and then type lazy-cli
. From there you can pick your domain and component name and that's it. :star:
Be aware that the current import paths are set to the Yousee Sales path. This change is on the roadmap :rocket: