Commit e70e1ee2 authored by Aleksandra Grabowska's avatar Aleksandra Grabowska
Browse files

Change modify/remove logic to auto-select single transfer with pair_id=0

When --pair-id is not specified:
- If there's exactly one transfer to the recipient with pair_id=0, auto-select it
- If there's one transfer with pair_id!=0, error with existing pair_id shown
- If there are multiple transfers, error asking to specify --pair-id

Also fix validation order: validate_pair_id_should_be_given() must be called
before validate_existence() to show correct error messages.

🤖 Generated with [Claude Code](https://claude.com/claude-code

)

Co-Authored-By: default avatarClaude Opus 4.5 <noreply@anthropic.com>
parent ee7f0851
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment