https://github.com/yxw007/pup-cli
从0到1的一个Mini脚手架
https://github.com/yxw007/pup-cli
cli template vue webpack
Last synced: 4 months ago
JSON representation
从0到1的一个Mini脚手架
- Host: GitHub
- URL: https://github.com/yxw007/pup-cli
- Owner: yxw007
- License: mit
- Created: 2021-11-28T14:56:47.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-26T06:56:24.000Z (over 2 years ago)
- Last Synced: 2025-02-12T17:50:22.461Z (4 months ago)
- Topics: cli, template, vue, webpack
- Language: JavaScript
- Homepage:
- Size: 187 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Pup-cli
English | 简体中文
Pup-cli is a very simple scaffolding tool that you may have for vue-CLI why use this pup-CLI of yours? If you are a webpack user before, using vue-CLI generated projects, you will not see the webpack configuration file, because vue-CLI encapsulated webpack layer, so you are confused about how to configure, of course, according to the official website you can slowly configure, but it will take a lot of time.So I thought to use a template project to set up a relatively complete development environment, and then use puP-CLI directly select template project to generate projects, and then can quickly develop.## Built-in template
- [vue2.x-webpack4.x](https://github.com/yxw007/vue2.x-webpack.x)(Available)
- [vue2.x-webpack5.x](https://github.com/yxw007/vue2.x-webpack.x)(Available)
- [vue3.x-webpack5.x](https://github.com/yxw007/vue3.x-webpack5.x)(Not available)## Quick start
1. global installation:
```
npm install -g pup-cli
```2. create project
```
pup-cli create project_name_xxx
```## More Instructions
-
If you have a template project already built, you can use pup-cli add to add your template project to this scaffold template configuration table, so that you can quickly generate your own template project items.
> 
- command list
```
Usage: pup-cli [options]Options:
-V, --version output the version number
-h, --help display help for commandCommands:
add add a new template
delete delete a template
list list all the templates
create create a new project from a template
```## Reference
- https://www.npmjs.com/package/inquirer#questions
- https://www.npmjs.com/package/download-git-repo## License
MIT © 2022 Potter