v0.3.0
🎉 Optional Output Argument
This release makes the output argument optional, simplifying the most common usage pattern!
✨ New Features
- Auto-generated output filenames: Simply run
bgone input.pngand getinput-bgone.png - Smart incremental naming: Automatically appends
-bgone-1,-bgone-2, etc. when files exist - Preserves file extensions: Works with
.jpg,.png, or any format - Fully backwards compatible: Explicit output paths still work as before
📖 Usage Examples
# Before: had to specify output
bgone input.png output.png --fg auto
# Now: output is optional!
bgone input.png --fg auto
# Still works with explicit output
bgone input.png custom-name.png --fg auto🧪 Quality Improvements
- Added 7 comprehensive unit tests for output path generation
- All existing tests pass (77 tests total)
- Full test coverage for edge cases and incremental naming
🔧 Implementation Details
- Extension preservation and fallback to
.png - Automatic collision detection and resolution
- Supports up to 999 incremental files before erroring
This makes bgone even easier to use while maintaining all its powerful features!