https://github.com/victorb/erio
`go get` directory organization for not only `go get`
https://github.com/victorb/erio
Last synced: about 1 month ago
JSON representation
`go get` directory organization for not only `go get`
- Host: GitHub
- URL: https://github.com/victorb/erio
- Owner: victorb
- Created: 2017-01-05T23:52:50.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-25T13:38:05.000Z (over 8 years ago)
- Last Synced: 2025-01-02T16:19:47.878Z (over 1 year ago)
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# erio
> `go get` directory organization for not only `go get`
Tired of having all repositories in one giant folder? Organize them as they are
organized on Github!
```
$ erio ipfs/notes
Cloning into '/home/victor/projects/ipfs/notes'...
```
## Installation
`go get -u -v github.com/victorbjelkholm/erio`
## Usage
First, set `ERIO_PATH` to whatever path you usually use for storing repositories.
In my case, this is `/home/victor/projects`, so I have `ERIO_PATH` set to that
value in my `~/.zshrc`.
```
export ERIO_PATH=/home/victor/projects
```
Now you can clone any Github project with either the format `git@github.com/ipfs/notes.git`
or `ipfs/notes` and it'll be placed in `$ERIO_PATH/$organization/$repository`.
In my case, it would be stored in `/home/victor/projects/ipfs/notes`.
# License
MIT 2017 - Victor Bjelkholm