@alu0100898293/gh-cp
v1.0.5
Published
gh extension to copy files
Downloads
8
Readme
gh cp
A GitHub CLI extension to copy a file from a GitHub repository locally without cloning the repository.
Installation
gh extension install ULL-MII-SYTWS-2122/gh-cp
npm install @alu0100898293/gh-cp
Usage
Usage: gh cp <repo> <route> <dest>
Options:
-v --version output the version number
-h --help display help for command
- All arguments are required
Example
$ gh cp ULL-MII-SYTWS-2122/gh-cp test/test_file.txt .
File test/test_file.txt copied succesfuly
$ cat test_file.txt
This is just a text file