cpgh

0.0.3-pre.0 • Public • Published

cpgh

cli to copy github repo, similar to degit

usage

$ npx cpgh --help
cpgh@0.0.1

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

Readme

Keywords

none

Package Sidebar

Install

npm i cpgh

Weekly Downloads

0

Version

0.0.3-pre.0

License

MIT

Unpacked Size

4.56 kB

Total Files

4

Last publish

Collaborators

  • hiogawa