https://github.com/hawx1993/hbuild-cli
🎸a cli tool for hbuild project
https://github.com/hawx1993/hbuild-cli
cli hbuild starter-kit vue-cli
Last synced: 10 months ago
JSON representation
🎸a cli tool for hbuild project
- Host: GitHub
- URL: https://github.com/hawx1993/hbuild-cli
- Owner: hawx1993
- License: mit
- Created: 2017-06-21T06:44:48.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-04T16:28:30.000Z (over 8 years ago)
- Last Synced: 2024-11-08T02:48:33.241Z (over 1 year ago)
- Topics: cli, hbuild, starter-kit, vue-cli
- Language: JavaScript
- Homepage:
- Size: 58.6 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
## Introduced
[](https://www.npmjs.com/package/hbuild-cli) [](https://github.com/hawx1993/hbuild-cli/issues) [](https://github.com/hawx1993/hbuild-cli/stargazers)
[](https://raw.githubusercontent.com/hawx1993/hbuild-cli/master/LICENSE)
this project is a cli tool for [hbuild](https://github.com/hawx1993/hbuild) project, which is used for rapidly build more powerful and easy to use project starter kit

## get started
```bash
$ sudo npm install hbuild-cli -g
```
## Usage
```bash
$ h init new-project
```
## Local Templates
when you clone this project,you can use a template on your local file system:
```bash
$ git clone git@github.com:hawx1993/hbuild.git
#custome your own template
$ h init ./hbuild new-project
```
## cache
when you first download [hbuild](https://github.com/hawx1993/hbuild) by hbuild-cli, which can be cached in `/user/home/.hbuild/repos/hbuild`, the next time when you execute `h init project-name` command,which will read from cache.
if online package's version is newer,`hbuild-cli` will download it rather than read it from cache
## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D
## License
MIT © [hawx1993](https://github.com/hawx1993)