#backup-restore #config #backup #restore #path

app pathmaster

pathmaster is a powerful command-line tool written in Rust for managing your system's PATH environment variable

8 releases

new 0.2.9 Apr 9, 2025
0.2.8 Apr 9, 2025
0.2.3 Oct 28, 2024
0.1.0 Oct 23, 2024

#271 in Filesystem

Download history 2/week @ 2025-02-18 126/week @ 2025-04-01

126 downloads per month

MIT license

83KB
2K SLoC

pathmaster

A powerful command-line tool for managing your system's PATH environment variable, providing safe and efficient PATH manipulation with automatic backups and validation.

Version: 0.2.9

Crates.io Documentation API Docs

Features

  • Safe PATH manipulation
  • Smart shell configuration management
  • Comprehensive validation and error checking
  • Basic error prevention

Upcoming Features

  • Enhanced backup system with multiple formats (JSON/TOML/plain text)
  • User-defined backup locations
  • Format conversion utilities
  • Flexible backup modes for different needs
  • Complete shell configuration management

See our Roadmap for more details.

Quick Start

Installation

cargo install pathmaster

Man Page Installation

After installing with Cargo, you can install the man page with:

pathmaster-install-man $HOME/.local

Or build from source:

git clone https://github.com/jwliles/pathmaster.git
cd pathmaster
cargo build --release

Basic Usage

# Add a directory to PATH
pathmaster add ~/bin

# List current PATH entries
pathmaster list

# Remove invalid entries
pathmaster flush

# Show backup history
pathmaster history

Documentation

Contributing

Contributions are welcome! Please read our Contributing Guide for details on:

  • Code of Conduct
  • Development process
  • Bug reports
  • Feature requests
  • Pull requests

License

This project is licensed under the MIT License - see the LICENSE file for details.

Dependencies

~5–7.5MB
~126K SLoC