renamify dry-run
The dry-run
command is an alias for plan --dry-run
. It shows what would be changed without creating a plan file.
renamify dry-run <OLD> <NEW> [OPTIONS]
This is equivalent to:
renamify plan <OLD> <NEW> --dry-run [OPTIONS]
Use Cases
Section titled “Use Cases”Perfect for:
- Exploring potential changes before committing to a plan
- Testing include/exclude patterns to see what files would be affected
- Understanding scope of a renaming operation
- Quick previews without cluttering your workspace
Examples
Section titled “Examples”# Quick preview of what would changerenamify dry-run getUserName fetchUserProfile
# Test specific pathsrenamify dry-run old_name new_name src/ tests/
# Test include patternsrenamify dry-run old_name new_name --include "src/**/*.{js,ts}"
# See changes in diff formatrenamify dry-run old_name new_name --preview diff
Benefits
Section titled “Benefits”- No files created - Doesn’t create
.renamify/plan.json
- Fast exploration - Quick way to understand impact
- Safe testing - No risk of accidentally applying changes