Socket
Book a DemoInstallSign in
Socket

component-generator-cli

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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.

0.5.17
latest
Source
npmnpm
Version published
Weekly downloads
7
Maintainers
1
Weekly downloads
 
Created
Source

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/--c]compgen~$ add Com Pon Ents --config path/to/my/config.json
Nfill-current[--overwrite/--o]compgen~$ 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

FAQs

Package last updated on 26 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.