Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bswck/gh-fs

GitHub CLI extension for mapping repo owners/orgs with your filesystem.
https://github.com/bswck/gh-fs

Last synced: 23 days ago
JSON representation

GitHub CLI extension for mapping repo owners/orgs with your filesystem.

Awesome Lists containing this project

README

        

# gh-fs

> [!Important]
> Work in progress.

GitHub CLI extension for mapping repo owners/orgs to your filesystem.

## Idea

* Set a default clone destination folder for your personal account (`bswck`).

`gh fs set bswck ~/Projects`

`gh repo clone slothy` from anywhere on your system should now clone into `~/Projects/slothy`.

* Set a default clone destination folder for organization `coherent-oss`.

`gh fs set coherent-oss ~/Coherent`

`gh repo clone coherent-oss/build` from anywhere on your system should now clone into `~/Coherent/build`.

* Set a default clone destination folder for unknown orgs `?`.

`gh fs set ? ~/Contrib`

`gh repo clone pandas-dev/pandas` from anywhere on your system should now clone into `~/Contrib/pandas`.

Or maybe should this be a feature of [pj](https://github.com/coherent-oss/pj)?