Quick Start Guide
Basic Operations
Adding Directories
# Add a single directory
pathmaster add ~/bin
# Add multiple directories
pathmaster add ~/bin ~/scripts /usr/local/bin
Viewing Current PATH
# List all PATH entries
pathmaster list
Removing Directories
# Remove a directory
pathmaster delete ~/old/bin
# Remove multiple directories
pathmaster delete ~/old/bin ~/deprecated/scripts
Path Validation
Check for Invalid Paths
# Validate current PATH
pathmaster check
Remove Invalid Paths
# Clean up invalid entries
pathmaster flush
Backup Management
Configuring Backup Mode
# Default (both PATH and shell)
pathmaster --backup-mode default
# PATH-only backup
pathmaster --backup-mode path
# Shell-only backup
pathmaster --backup-mode shell
# Toggle between modes
pathmaster --backup-mode switch
Managing Backups
# View backup history
pathmaster history
# Restore from latest backup
pathmaster restore
# Restore specific backup
pathmaster restore --timestamp 20240301120000
Common Workflows
Adding New Development Tools
Create development bin directory:
mkdir -p ~/dev/bin
Add to PATH:
pathmaster add ~/dev/bin
Verify addition:
pathmaster list
Cleaning Up PATH
Check for invalid entries:
pathmaster check
Remove invalid entries:
pathmaster flush
Verify changes:
pathmaster list
Backup and Restore
Configure backup mode:
pathmaster --backup-mode default
Make changes to PATH
View backup history:
pathmaster history
Restore if needed:
pathmaster restore
Next Steps
Read the Basic Usage Guide for more details
Check the Command Reference for all available commands
Review Features for advanced functionality