cpgh
v0.0.3-pre.0
Published
cli to copy github repo, similar to [degit](https://github.com/Rich-Harris/degit)
Downloads
4
Readme
cpgh
cli to copy github repo, similar to degit
usage
$ npx cpgh --help
[email protected]
Usage:
npx cpgh https://github.com/<user>/<repo>/tree/<branch>/<subdir> <outdir>
Options:
--force Overwrite <outdir> if it exists
-h, --help Show help
Examples:
npx cpgh https://github.com/vitest-dev/vitest/tree/main/examples/basic my-app
npx cpgh https://github.com/vitest-dev/vitest/tree/this/is/branch[/]examples/basic my-app