# 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.7
[](https://crates.io/crates/pathmaster)
[](https://docs.rs/pathmaster)
## Features
- Safe PATH manipulation with automatic backups
- Smart shell configuration management
- Comprehensive validation and error checking
- Flexible backup modes for different needs
## Quick Start
### Installation
```bash
cargo install pathmaster
```
### Man Page Installation
After installing with Cargo, you can install the man page with:
```bash
pathmaster-install-man $HOME/.local
```
Or build from source:
```bash
git clone https://github.com/jwliles/pathmaster.git
cd pathmaster
cargo build --release
```
### Basic Usage
```bash
# 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
- **Online Documentation**: [https://jwliles.github.io/pathmaster](https://jwliles.github.io/pathmaster)
- **Man Page**: `man pathmaster`
- **Command Help**: `pathmaster --help`
- **MDBook Documentation**: [https://jwliles.github.io/pathmaster/](https://jwliles.github.io/pathmaster/)
## Contributing
Contributions are welcome! Please read our [Contributing Guide](CONTRIBUTING.md) 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](LICENSE) file for details.