An open API service indexing awesome lists of open source software.

https://github.com/reaxi/gh-gen

generate apps from any github repository, like an universal create-app 💥
https://github.com/reaxi/gh-gen

hackertoberfest

Last synced: about 2 months ago
JSON representation

generate apps from any github repository, like an universal create-app 💥

Awesome Lists containing this project

README

          

# gh-gen

[npm](https://npmjs.com/package/gh-gen)
Maintained

**gen**erate apps from any **g**it**h**ub repository

> like starters, templates and more

> yarn berry support, `-2` or `--berry`

## Usage

```
gh-gen user/repo
```

```
gh-gen user/repo [templates/hello]
```

> like templates/ or examples/ (any folder path)

```
gh-gen user/repo -n name -b branch
```

> use specific branch

### aliases

- aliases: pick user/repo and branch

default aliases:

- `npr`: Andrew-Colman/node-package-rollup
- `next`: Andrew-Colman/next.ts

## options

```ts

argument: '[repo]',
"the repository to generate, please use this signature: 'user/repo' or an known alias"

option: '-p, --path ' // path

option: '-b, --branch ', // 'repository branch'

option: '-n, --name ', // 'project name (as in package.json)'

option: '-v, --version ', // 'project version (as in package.json)'

option: '-a, --author ', // 'project author (as in package.json)'

option: '-p, --path ', // 'project path'

option: '-2, --berry [ide]', // 'start a yarn/berry project' // ide: vscode (will install vscode sdk for berry)

option: '--aliases', // 'list all aliases from gh-gen-alises.json' //standalone option

option: '-d, --debug', // 'enable debug mode'
```