| Crates.io | monarch-rs |
| lib.rs | monarch-rs |
| version | 0.1.0 |
| created_at | 2025-05-24 11:32:54.870046+00 |
| updated_at | 2025-05-24 11:32:54.870046+00 |
| description | Advanced Git Management Suite for handling multiple repositories concurrently |
| homepage | |
| repository | https://github.com/jwliles/monarch-rs |
| max_upload_size | |
| id | 1687323 |
| size | 110,709 |
A powerful platform for managing multiple Git repositories concurrently with a unified interface, intelligent hook management, and advanced visualization.
git clone https://github.com/jwliles/monarch-rs.git
cd monarch-rs
cargo build --release
The compiled binary will be available at target/release/monarch.
monarch [OPTIONS] <OPERATION> <SOURCE_DIR> [TARGET_DIR]
--verbose: Enable verbose logging--reverse: Reverse the direction of operations (e.g., clone from target to source)--filter: Filter repositories by name patternClone all repositories from one directory to another:
monarch clone ~/projects ~/backup
With verbose output:
monarch --verbose clone ~/projects ~/backup
List all repositories and their status:
monarch status ~/projects
Run a git command on all repositories:
monarch run ~/projects -- branch -a
List hooks for all repositories:
monarch hook list ~/projects
Create a new hook across all repositories:
monarch hook create ~/projects --hook-type pre-commit --script-path ~/myhooks/pre-commit.sh
Install a sample hook across all repositories:
monarch hook install ~/projects --hook-type pre-commit
Remove a hook from all repositories:
monarch hook remove ~/projects --hook-type pre-commit
src/
main.rs: Entry pointargs.rs: Command-line argument parsinggit/: Git operations and repository managementoperations/: Implementation of supported operations
hook.rs: Git hook management operationsutils/: Utility functionscargo test
Note: Monarch is developed exclusively for free operating systems. It is not officially tested or supported on proprietary platforms.
This project is licensed under the terms found in the LICENSE file.