Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mislav/gh-cp

GitHub CLI extension to copy a file from a GitHub repository locally without cloning the repository.
https://github.com/mislav/gh-cp

gh-extension

Last synced: about 2 months ago
JSON representation

GitHub CLI extension to copy a file from a GitHub repository locally without cloning the repository.

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.

```sh
$ gh extension install mislav/gh-cp

$ gh cp
Usage: gh cp

$ gh cp cli/cli pkg/findsh/find_windows.go .

$ head find_windows.go
package findsh

import (
"os"
"path/filepath"

"github.com/cli/safeexec"
)

func Find() (string, error) {
```