component-generator-cli

0.5.17 • Public • Published

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
Available Command Options Example
N add [--preview/--p] , [--config/--c] compgen~$ add Com Pon Ents --config path/to/my/config.json
N fill-current [--overwrite/--o] compgen~$ fill-current --o
N undo compgen~$ undo

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

add → Generate variadic number of components

Option Alias Arguments Description
--preview --p N/A See changes before executing
--config --c /path/to/config.json → Overwrite defaults with your own custom config Specify 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)

Option Alias Description
--overwrite --o Replaces matching files with new content
compgen~$ undo

undo → Revert all previous actions

Option Alias Description
N/A

Config

Resources

Example

Readme

Keywords

none

Package Sidebar

Install

npm i component-generator-cli

Weekly Downloads

1

Version

0.5.17

License

MIT

Last publish

Collaborators

  • alechp