# Invalid input test cases - these should all fail with clear error messages

# Missing required --input
--output result.txt

# Missing required --output
--input test.txt

# Missing both required params
--verbose

# Invalid count - not a number
--input test.txt --output result.txt --count abc

# Invalid count - zero
--input test.txt --output result.txt --count 0

# Invalid count - negative
--input test.txt --output result.txt --count -5

# Invalid count - too high
--input test.txt --output result.txt --count 101

# Invalid format
--input test.txt --output result.txt --format pdf

# Unknown option
--input test.txt --output result.txt --unknown-flag

# Input file doesn't exist
--input nonexistent.txt --output result.txt

# Output file already exists (run after first success)
--input test.txt --output result.txt
