rkit-0.1.0 is not a library.
Visit the last successful build:
rkit-0.1.13
rkit
A minimal, high-performance CLI suite written in Rust for organizing, scanning, and inspecting Git repositories under a user-defined workspace.
Features
clone: Smart Git clone wrapper that organizes repositories by domain and organizationls: List all Git repositories in your workspaceview: View repository information and metadata
Installation
Configuration
The configuration file is located at:
- Unix-like systems:
~/.config/rkit/config.yaml - Windows:
%APPDATA%\rkit\config.yaml
It will be created automatically on first run with default values.
Example configuration:
project_root: "~/Projects" # or "%USERPROFILE%\projects" on Windows
rview:
- command: "git -C {REPO} rev-parse --abbrev-ref HEAD"
label: "Branch"
- command: "git -C {REPO} status --porcelain"
label: "Uncommitted Changes"
- command: "cat {REPO}/README.md"
label: "README"
Usage
Clone a repository
This will clone the repository to ~/Projects/github.com/username/repo.
List repositories
Lists all Git repositories found under the configured project root. Use the --full flag to show absolute paths instead of relative paths.
View repository information
Displays repository information based on configured commands or falls back to showing README.md or directory listing. The command will:
- Show configured Git information (branch, status, etc.)
- Display the repository's README.md if available
- Fall back to directory listing if no README is found
Development
# Build
# Run tests
# Run with debug output
RUST_LOG=debug
# Run with trace output
RUST_LOG=trace
The project uses structured logging with different verbosity levels:
info: Default level, shows basic operationsdebug: Shows detailed operation informationtrace: Shows all internal operations
License
MIT