Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/axetroy/gpm.rs
helps you manage hundreds of repository, and it written with Rust
https://github.com/axetroy/gpm.rs
git repository-management rust
Last synced: 12 days ago
JSON representation
helps you manage hundreds of repository, and it written with Rust
- Host: GitHub
- URL: https://github.com/axetroy/gpm.rs
- Owner: axetroy
- License: mit
- Created: 2022-03-04T01:21:04.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-02T16:50:20.000Z (4 months ago)
- Last Synced: 2024-10-11T20:12:23.946Z (28 days ago)
- Topics: git, repository-management, rust
- Language: Rust
- Homepage:
- Size: 95.7 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gpm
[![ci](https://github.com/axetroy/gpm.rs/actions/workflows/ci.yml/badge.svg)](https://github.com/axetroy/gpm.rs/actions/workflows/ci.yml)
[![ci](https://github.com/axetroy/gpm.rs/actions/workflows/build.yml/badge.svg)](https://github.com/axetroy/gpm.rs/actions/workflows/build.yml)
![Latest Version](https://img.shields.io/github/v/release/axetroy/gpm.rs.svg)
![License](https://img.shields.io/github/license/axetroy/gpm.rs.svg)
![Repo Size](https://img.shields.io/github/repo-size/axetroy/gpm.rs.svg)> If you have hundreds of repository, how will you manage them?
This tool helps you manage repository. The directory is hierarchically based on the Git address, similar to Golang's package management, which can organize your hundreds or even thousands of projects.
eg. `https://github.com/axetroy/gpm.rs.git` will be storage at `$ROOT/github.com/axetroy/gpm.rs` just with one command:
```bash
$ gpm clone https://github.com/axetroy/gpm.rs.git
```### Install
1. [Cask](https://github.com/axetroy/cask.rs)
```bash
cask install github.com/axetroy/gpm.rs
```2. [Github release page](https://github.com/axetroy/gpm.rs/releases)
Download the executable, then put it in the `$PATH` directory.
## Usage
```sh
# config root path
$ gpm config add root ~/gpm# clone project instead of git clone
$ gpm clone https://github.com/axetroy/gpm.rs# clone with git command argument
$ gpm clone https://github.com/axetroy/gpm.rs -- --progress --recursive
```## Command
| Command | Description |
| ---------------------------------- | ---------------------------------- |
| gpm clone \ [OPTIONS] | Clones repository |
| gpm open \ | Open repository with file explorer |
| gpm vscode \ | Open repository with vscode |
| gpm list | List repositories |
| gpm config | Print configure |
| gpm config add \ \ | Add configure for a field |
| gpm config set \ \ | Set configure for a field |
| gpm config remove \ | Remove configure for a field |
| gpm config reset | Reset configure |## Relative
- [gpm.js](https://github.com/gpmer/gpm.js) - I wrote with nodejs in many years ago.
- [vscode-gpm](https://github.com/axetroy/vscode-gpm) - Integrate with vscode, I have been using this for a long time.## LICENSE
The [MIT License](LICENSE)