Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hugomrdias/generator-hd
yo generator for my oss projects
https://github.com/hugomrdias/generator-hd
generator yeoman yo
Last synced: 28 days ago
JSON representation
yo generator for my oss projects
- Host: GitHub
- URL: https://github.com/hugomrdias/generator-hd
- Owner: hugomrdias
- License: mit
- Created: 2017-09-20T13:34:14.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T23:33:34.000Z (almost 2 years ago)
- Last Synced: 2024-10-07T22:30:50.223Z (about 1 month ago)
- Topics: generator, yeoman, yo
- Language: JavaScript
- Size: 251 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# generator-hd
> Scaffold out a generic JS project
Optionally with a [CLI](http://en.wikipedia.org/wiki/Command-line_interface).
This is what I use for [my own modules](https://www.npmjs.com/~hugomrdias).
## Install
```
$ npm install --global yo generator-hd
```## Usage
With [yo](https://github.com/yeoman/yo):
```
$ yo hd
```There are multiple command-line options available:
```
$ yo hd --helpUsage:
yo hd [options]Options:
--help # Print the generator's options and usage
--skip-cache # Do not remember prompt answers Default: false
--skip-install # Do not automatically install dependencies Default: false
--org # Publish to a GitHub organization account
--cli # Add a CLI
--coverage # Add code coverage with nyc
--codecov # Upload coverage to codecov.io (implies --coverage)
```The `--org` option takes a string value (i.e. `--org=avajs`). All others are boolean flags and can be negated with the `no` prefix (i.e. `--no-codecov`). You will be prompted for any options not passed on the command-line.
## License
MIT © [Hugo Dias](http://hugodias.me)