infra-cli
This is a scaffolding tool inside the infra department
Provide function Create project 1. Custom build project 2. Select the built-in remote template to generate the project 3. Pull the third-party remote template generation project 4. the customized template generates the cache configuration
Table of Contents
Background
With the expansion of the department’s business, there are more and more projects, and the configuration and structure of the project are similar. At this time, the infra department needs to reduce repetitive work and unify project constraints and structure, so this tool was born.
Install
$ npm install --global infra-cli
or
$ yarn global add infra-cli
Usage
- Custom build project
infra create <name>
- Select the built-in remote template to generate the project
infra create <name> -t [name]
- Select the built-in remote template to generate the backend project
infra create <name> -be [name]
- Pull the third-party remote template generation project
infra create <name> -c <git url>
Contributing
PRs accepted.
Small note: If editing the README, please conform to the standard-readme specification.
License
MIT © 2021 xiang.hong