4.0.12 • Published 5 years ago
@autogen-export/cli v4.0.12
INTRODUCTION: This package provides CLI which integrates core package. Provide functionalities such as generate re-export file and recursively generate re-export file.
The core package is located at: CORE PACKAGE
USAGE
$ autogen-export [ROOTDIRECTORY] [BABELCONFIGPATH] [STRIPFILEEXTS] [FILEEXTS] [IGNOREDESTINATIONREGEXS] [GENERATEDFILEEXT]
ARGUMENTS
ROOTDIRECTORY path use for generate export file
BABELCONFIGPATH If not specify. Use babel default config
STRIPFILEEXTS [default: ts,tsx,js,jsx] File exts which match stripFileExts will be striped ext
FILEEXTS [default: ts,tsx,js,jsx] Child file extensions that will be re-exported
IGNOREDESTINATIONREGEXS Path which matched regex will be ignored (use in recursive mode)
GENERATEDFILEEXT [default: ts] Extension of generated file. Generated file name will be index
OPTIONS
-c, --cfg specify configuration file. If specifiied, all agurments except directory will be ignored
-r, --recursive generate recursively
-w, --watch watch for file changed and re-generate re-export file
MY MEDIUM POST: recursively-export-file-pattern-in-javascript-es6-application
EXAMPLE:
- All executable examples is placed in an example folder.
- I have also create a example folder. Inited and installed
@autogen-export/cli
to demonstrate how it's work: https://github.com/phmngocnghia/AutoGenerateReExportFile/tree/master/examples/cli - Just run npm scripts:
run:example
orrun:example-recursive
4.0.12
5 years ago
4.0.11
5 years ago
4.0.10
5 years ago
4.0.8
5 years ago
4.0.7
5 years ago
4.0.5
5 years ago
4.0.4
5 years ago
4.0.3
5 years ago
4.0.2
5 years ago
4.0.1
5 years ago
4.0.0
5 years ago
3.1.2
5 years ago
3.1.1
5 years ago
3.1.0
5 years ago
3.0.4
5 years ago
3.0.3
5 years ago
3.0.1
5 years ago
1.0.0
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
0.0.1
5 years ago