https://github.com/lesiw/repo
Simple repository manager.
https://github.com/lesiw/repo
cli git go golang repository
Last synced: about 2 months ago
JSON representation
Simple repository manager.
- Host: GitHub
- URL: https://github.com/lesiw/repo
- Owner: lesiw
- License: mit
- Created: 2024-04-07T00:59:45.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-17T22:41:49.000Z (over 1 year ago)
- Last Synced: 2024-10-30T09:33:50.627Z (over 1 year ago)
- Topics: cli, git, go, golang, repository
- Language: Go
- Homepage: https://lesiw.io/repo
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# repo
A simple repository manager.
Clone repositories using `repo URL`. The path to the cloned repository will be
output to standard out. If the path already exists, it will not be re-cloned.
Set `repo`'s prefix using `REPOPREFIX` (default `$HOME/.local/src`).
## Installation
### curl
```sh
curl lesiw.io/repo | sh
```
### go install
```sh
go install lesiw.io/repo@latest
```
## Shell function
To automatically change to the cloned repository directory, add this function to
your shell's rc file.
``` sh
repo() {
cd "$(command repo $@)"
}
```