gen-export
v1.0.0
Published
Generate the index.js of ESM for a directory
Downloads
1
Readme
Generate the index.js for ESM(export)
Usage
$ npm install -g gen-export
$ gen-export-js COMMAND
running command...
$ gen-export-js (--version)
gen-export/1.0.0 linux-x64 node-v18.15.0
$ gen-export-js --help [COMMAND]
USAGE
$ gen-export-js COMMAND
...
Commands
gen-export-js DIR
Generate export index.js of ESM on a directory
USAGE
$ gen-export-js DIR [-d] [-i <value>]
ARGUMENTS
DIR [default: .] the directory to export
FLAGS
-d, --dryRun print it instead of saving file.
-i, --ignore=<value>... the file patterns to ignore
DESCRIPTION
Generate export index.js of ESM on a directory
EXAMPLES
$ gen-export-js . -d
export * from './a.js'
export * from './b.js'
See code: dist/commands/index.ts
gen-export-js autocomplete [SHELL]
display autocomplete installation instructions
USAGE
$ gen-export-js autocomplete [SHELL] [-r]
ARGUMENTS
SHELL shell type
FLAGS
-r, --refresh-cache Refresh cache (ignores displaying instructions)
DESCRIPTION
display autocomplete installation instructions
EXAMPLES
$ gen-export-js autocomplete
$ gen-export-js autocomplete bash
$ gen-export-js autocomplete zsh
$ gen-export-js autocomplete --refresh-cache
See code: @oclif/plugin-autocomplete
gen-export-js help [COMMANDS]
Display help for gen-export-js.
USAGE
$ gen-export-js help [COMMANDS] [-n]
ARGUMENTS
COMMANDS Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for gen-export-js.
See code: @oclif/plugin-help