@autogen-export/cli
TypeScript icon, indicating that this package has built-in type declarations

4.0.12 • Public • Published

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:

/@autogen-export/cli/

    Package Sidebar

    Install

    npm i @autogen-export/cli

    Weekly Downloads

    4

    Version

    4.0.12

    License

    MIT

    Unpacked Size

    23.3 kB

    Total Files

    28

    Last publish

    Collaborators

    • phmngocnghia