Skip to content

Replace ArgParse with Fire - #23

Merged
sroberts merged 3 commits into
masterfrom
claude/update-thi-01N9CDVM5ETyGkezh93rH5mk
Nov 18, 2025
Merged

Replace ArgParse with Fire#23
sroberts merged 3 commits into
masterfrom
claude/update-thi-01N9CDVM5ETyGkezh93rH5mk

Conversation

@sroberts

Copy link
Copy Markdown
Owner
  • Replace argparse with Google Fire for more intuitive CLI
  • Refactor malware_manager.py to use class-based Fire interface
  • Add fire>=0.5.0 to requirements.txt
  • Update README.md with new Fire-based usage examples
  • Maintain all existing functionality (load, recent, find, delete)
  • Improve help system with automatic command documentation

- Replace argparse with Google Fire for more intuitive CLI
- Refactor malware_manager.py to use class-based Fire interface
- Add fire>=0.5.0 to requirements.txt
- Update README.md with new Fire-based usage examples
- Maintain all existing functionality (load, recent, find, delete)
- Improve help system with automatic command documentation
@sroberts sroberts self-assigned this Nov 18, 2025
- Create test_fire_cli.py with 13 test cases
- Test MalwareManager initialization (success/failure)
- Test load command with/without plugins
- Test recent command with default and custom counts
- Test find command
- Test delete command (not yet implemented)
- Test database initialization failure handling
- Test Fire integration with main()
- Achieve 98% code coverage for malware_manager.py
- All 42 tests passing (13 new + 29 existing)
- Rename malware_manager.py to malwarehouse.py for simpler usage
- Update all README.md examples to use new command name
- Update test imports to reference malwarehouse module
- All 42 tests passing with new naming
- Improves user experience with shorter, more intuitive command
@sroberts
sroberts merged commit 688d206 into master Nov 18, 2025
9 checks passed
@sroberts
sroberts deleted the claude/update-thi-01N9CDVM5ETyGkezh93rH5mk branch November 18, 2025 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants