UNPKG

@alu0100898293/gh-cp

Version:
32 lines (22 loc) 577 B
# 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 ```sh $ 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 ```