Skip to content

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.

Terminal window
renamify dry-run <OLD> <NEW> [OPTIONS]

This is equivalent to:

Terminal window
renamify plan <OLD> <NEW> --dry-run [OPTIONS]

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
Terminal window
# Quick preview of what would change
renamify dry-run getUserName fetchUserProfile
# Test specific paths
renamify dry-run old_name new_name src/ tests/
# Test include patterns
renamify dry-run old_name new_name --include "src/**/*.{js,ts}"
# See changes in diff format
renamify dry-run old_name new_name --preview diff
  • No files created - Doesn’t create .renamify/plan.json
  • Fast exploration - Quick way to understand impact
  • Safe testing - No risk of accidentally applying changes