0.5.17 • Published 7 years ago

component-generator-cli v0.5.17

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Component Generator CLI

STATUS: Not ready for use.

A poem to discourage you:

Do not download in a pack. Do not download in a gem. Please do not download, no matter where or when.


Purpose of this is to create scaffolding for multiple components easily

Getting Started

Install

npm i -g component-generator-cli

Use

compgen starts the component-generator

Commands

Summary
AvailableCommandOptionsExample
Nadd--preview/--p , --config/--ccompgen~$ add Com Pon Ents --config path/to/my/config.json
Nfill-current--overwrite/--ocompgen~$ fill-current --o
Nundocompgen~$ undo

Detailed
compgen~$ add [...components to add] --preview --config /path/to/config.json

add → Generate variadic number of components

OptionAliasArgumentsDescription
--preview--pN/ASee changes before executing
--config--c/path/to/config.json → Overwrite defaults with your own custom configSpecify your own config for file names, extensions, code-templates, ignored directories and more
compgen~$ fill-current

fill-current→ Fill current directories with template files (useful if you've already mkdir'd all of your components)

OptionAliasDescription
--overwrite--oReplaces matching files with new content
compgen~$ undo

undo → Revert all previous actions

OptionAliasDescription
N/A

Config

Resources

Example

0.5.17

7 years ago

0.5.16

7 years ago

0.5.15

7 years ago

0.5.14

7 years ago

0.5.13

7 years ago

0.5.12

7 years ago

0.5.11

7 years ago

0.5.4

7 years ago