Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ull-mii-sytws-2122/gh-cp

gh extension to copy files
https://github.com/ull-mii-sytws-2122/gh-cp

module npm

Last synced: 25 days ago
JSON representation

gh extension to copy files

Awesome Lists containing this project

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

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
```