mail2couch/go
Ole-Morten Duesund 031dd86b0d feat: implement GNU-style command line options with pflag
- Add pflag dependency for POSIX/GNU-style command line parsing
- Replace Go standard flag package with pflag for better UX
- Implement long options with double dashes (--config, --max-messages, --help)
- Add short option aliases with single dashes (-c, -m, -h)
- Update help message with proper formatting and application description
- Update all documentation to reflect new flag syntax
- Update test scripts to use new command line format

GNU-style options provide better usability:
- Long descriptive options with --flag-name format
- Short single-character aliases for common options
- Standard help flag behavior with --help/-h
- Compatible with shell completion and standard conventions

Command line interface now supports:
- --config/-c FILE: Path to configuration file
- --max-messages/-m N: Message processing limit per mailbox
- --help/-h: Show help message and exit

All existing functionality preserved with improved command line experience.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-02 15:17:04 +02:00
..
config feat: implement GNU-style command line options with pflag 2025-08-02 15:17:04 +02:00
couch refactor: remove webmail interface, focus on core mail storage functionality 2025-08-02 14:57:51 +02:00
mail refactor: remove webmail interface, focus on core mail storage functionality 2025-08-02 14:57:51 +02:00
go.mod feat: implement GNU-style command line options with pflag 2025-08-02 15:17:04 +02:00
go.sum feat: implement GNU-style command line options with pflag 2025-08-02 15:17:04 +02:00
main.go refactor: remove webmail interface, focus on core mail storage functionality 2025-08-02 14:57:51 +02:00