1.0.0 • Published 10 months ago

qa-shots v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

qa-shots

CLI tool to rename QA screenshots chronologically with JIRA IDs.

Installation

npm install -g qa-shots

Usage

# Preview changes
qa-shots -d /path/to/screenshots -j SSM-123 -n 5 --dry-run

# Rename files
qa-shots -d /path/to/screenshots -j SSM-123 -n 5

Required Options

  • -d, --directory <path>: Directory containing screenshots
  • -j, --jira <id>: JIRA story ID (e.g., SSM-123)
  • -n, --number <count>: Number of most recent screenshots to rename

Optional Options

  • --dry-run: Preview renaming without making changes

Example

# Rename latest 3 screenshots with JIRA ticket SSM-456
qa-shots -d ~/Desktop/screenshots -j SSM-456 -n 3

Best Practices

  1. Always use --dry-run first to preview changes
  2. Keep backups or use version control
  3. Verify the number of files you want to rename before proceeding

License

ISC License

1.0.0

10 months ago