CLI boilerplate for create project file and content with predefined templates for all type of file extensions.
Created by Pankod
By using the CLI tool, you may easily:
-
Create new files and folders with any file extension,
-
Add predefined content to newly created file by using built-in mustache templating engine.
Run the following method:
npm install
Once the installation is done, you should run the following command for compile Typescript:
npm run build
It saves javascript files to dist folder.
Run the following command for compile typescript code anytime you made changes in code:
npm run watch
Once the installation is done, you can run the following command to start CLI.
npm run start
-
Add a new mustache template to templates folder and define file path to methods in helper.ts.
More info about mustache.js
- add child page
- Create page and module place
- Custom alias path for the page
- Auto generate definition file
- can specific component place
- can auto export and append to index
- use styled component