vamtiger-generate-typescript-enum
Generate a typescript enum for defined option(s)
Last updated 2 years ago by vamtiger-project .
MIT · Original npm · Tarball · package.json
$ cnpm install vamtiger-generate-typescript-enum 
SYNC missed versions from official npm registry.

VAMTIGER Generate Typescript Enum

Generate a typescript enum for defined option(s).

Installation

VAMTIGER Generate Typescript Enum can be installed using npm or yarn:

npm i --global vamtiger-generate-typescript-enum

or

yarn add global vamtiger-generate-typescript-enum

Usage

Enum declarations can be generated from:

  • Folder Content: Enum from files for defined relative directory path
vamtiger-generate-typescript-enum --from folderContent --directory build --clipboard

Usage Options

Customiseable options can be listed:

vamtiger-generate-typescript-enum --help
Argument Short Description
--from -f Generate enum from (see From Options)
--name -n Name of the enum declaration
--clipboard -c copy enum to clipboard
--directory -d Path for enum from folder content
--help -h List help options

From Options

option Description
folderContent Folder Content

Current Tags

  • 0.0.8                                ...           latest (2 years ago)

6 Versions

  • 0.0.8                                ...           2 years ago
  • 0.0.7                                ...           2 years ago
  • 0.0.6                                ...           2 years ago
  • 0.0.5                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (10)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |