generate apps from any github repository
like starters, templates and more
yarn berry support,
-2
or--berry
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: pick user/repo and branch
default aliases:
npr
: Andrew-Colman/node-package-rollupnext
: Andrew-Colman/next.ts
argument: '[repo]',
"the repository to generate, please use this signature: 'user/repo' or an known alias"
option: '-p, --path <path>' // path
option: '-b, --branch <name> ', // 'repository branch'
option: '-n, --name <name>', // 'project name (as in package.json)'
option: '-v, --version <version>', // 'project version (as in package.json)'
option: '-a, --author <author>', // 'project author (as in package.json)'
option: '-p, --path <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'