$ show Morganamilo/paru
Paru is an AUR (Arch User Repository) helper and pacman wrapper written in Rust. It provides a command-line interface for searching, building, installing, and managing packages from both official Arch repositories and the AUR. The application features a modular architecture with distinct modules for configuration, dependency resolution, installation, and package operations. Key functionalities include interactive package selection, chroot builds, dependency handling, PGP signing, and configurable build options. Paru maintains pacman compatibility while extending it with AUR-specific features like development version tracking and local repository management.
The LLM identified 2 files worth highlighting for reuse:
Handles configuration from multiple sources (INI files, command-line flags, environment variables) with defined precedence. Isolated from core logic, making it reusable in other CLI applications needing flexible configuration.
Provides a wrapper around std::process::Command with signal forwarding (to propagate SIGINT/SIGTERM to child processes) and sudo loop management (to prevent sudo timeout during long operations). Self-contained and applicable to any Rust program spawning child processes.