vamtiger-generate-typescript-enum
v0.0.8
Published
Generate a typescript enum for defined option(s)
Downloads
2
Maintainers
Readme
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 |