qa-shots
v1.0.0
Published
CLI tool to rename QA screenshots with JIRA IDs
Downloads
75
Maintainers
Readme
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
- Always use
--dry-run
first to preview changes - Keep backups or use version control
- Verify the number of files you want to rename before proceeding
License
ISC License