big-bang-cli
v1.5.0
Published
A tool to generate boilerplate code with terminal.
Downloads
8
Maintainers
Readme
big-bang-cli
Big bang cli a tool to generate boilerplate code with terminal.
Just as the life of our universe started from emptiness in consequence the Big Bang, so our components are generated from nothing in a file structure.
Install
npm install big-bang-cli
Usage
Big bang cli exposes a command: bb-new. All you need to run it from a terminal and make a choose. If you haven't had a bg-config.json yet, it will be created in a root directory. There will be base settings that you can change for your needs. You can check a config example here.
Default templates for components
If inside a root directory of a project exists another one with the name, specified in a 'templatePaths' option' (by default 'bb-templates'), it will take content and set to new created files with corresponding extensions. You can check an example of templates here.