https://github.com/heavenshell/rs-pluginbaby
Update git repositories at once
https://github.com/heavenshell/rs-pluginbaby
Last synced: 10 months ago
JSON representation
Update git repositories at once
- Host: GitHub
- URL: https://github.com/heavenshell/rs-pluginbaby
- Owner: heavenshell
- License: bsd-3-clause
- Created: 2019-06-23T14:35:49.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-25T17:22:24.000Z (about 7 years ago)
- Last Synced: 2025-08-15T20:17:35.145Z (10 months ago)
- Language: Rust
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pluginbaby
**Notice: This project is WIP and highly experimental.**
Update git repositories at once.
Heavely inspired by [pack](https://github.com/maralla/pack).
## Motivations
- To learn Rust language
- Want to update my Vim8 pack directories at once
## Usage
### List repositories
List git repositories to stdout.
`$ pluginbaby list`
Retrive current directory(default max depth is 3) and list git repository info.
`$ Pluginbaby list --path=~/.vim/pack --depth=5`
Retrive `~/.vim/pack` directory and list git repository info.
### Dump repositories
Dump git repositories info to `Repofile`.
`$ pluginbaby dump`
Retrive current directory(default max depth is 3) and if directory contains `.git` directory, dump git repository info to `Repofile`.
`$ pluginbaby dump --path=~/.vim/pack --dist=~/`
Dump `~/.vim/pack` directory and save `Repofile` to home directory.
### Restore repositories
Restore(`git clone`) from `Repofile`.
`$ pluginbaby restore --conf=./Repofile --dist=./mypack`
Do `git clone` to `./mypack` directory.
### Update repositories
`$ pluginbaby update --path=~/.vim/pack
Do `git fetch origin/master` and `reset --hard` to `./mypack` directory.