Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/williammartin/gh-exact
Dump and Restore your gh extensions
https://github.com/williammartin/gh-exact
gh-extension
Last synced: 5 days ago
JSON representation
Dump and Restore your gh extensions
- Host: GitHub
- URL: https://github.com/williammartin/gh-exact
- Owner: williammartin
- Created: 2024-03-22T16:06:19.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-22T17:09:01.000Z (10 months ago)
- Last Synced: 2025-01-11T03:14:59.133Z (13 days ago)
- Topics: gh-extension
- Language: Go
- Homepage:
- Size: 15.6 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Description
Dump and restore your `gh` CLI extensions.
## Prerequisites
`gh` CLI installed and authenticated (for `install` command)
## Installation
```
gh ext install williammartin/gh-exact
```## Usage
```
gh exact dump -f manifest.yaml
``````
gh exact restore -f manifest.yaml [--pin]
```Without `--pin` the latest version of each extension will be installed. With `--pin` the exact version you dumped will be restored, but this will also be **pinned** as if you did `gh ext install --pin`.
## Limitations
* Doesn't handle local extension installation.
* Doesn't handle installing specific extension versions without pinning.
* Doesn't really do very good error reporting or general communication about what it is doing really