hosts, a python with textual based /etc/hosts editor.
Find a file
phg bc0f8b99e8 Implement command pattern for undo/redo functionality in HostsManager
- Added command classes: ToggleEntryCommand, MoveEntryCommand, AddEntryCommand, DeleteEntryCommand, UpdateEntryCommand.
- Integrated UndoRedoHistory to manage command execution and history.
- Updated HostsManager to use command-based methods for editing entries with undo/redo support.
- Enhanced HostsManagerApp to display undo/redo status and handle undo/redo actions via keyboard shortcuts.
- Refactored navigation handler to utilize command-based methods for toggling and moving entries.
- Created comprehensive tests for command classes and integration with HostsManager.
2025-08-17 21:30:01 +02:00
memory-bank Implement command pattern for undo/redo functionality in HostsManager 2025-08-17 21:30:01 +02:00
src/hosts Implement command pattern for undo/redo functionality in HostsManager 2025-08-17 21:30:01 +02:00
tests Implement command pattern for undo/redo functionality in HostsManager 2025-08-17 21:30:01 +02:00
.clinerules initial commit 2025-07-29 13:50:55 +02:00
.gitignore Add .gitignore file to exclude unnecessary files and directories 2025-07-29 15:09:57 +02:00
.python-version initial commit 2025-07-29 13:50:55 +02:00
CLAUDE.md Add CLAUDE.md for project guidance and development instructions 2025-08-14 16:59:27 +02:00
pyproject.toml Update dependencies to latest versions: textual 5.0.1 and pytest 8.4.1 2025-07-29 16:07:50 +02:00
README.md initial commit 2025-07-29 13:50:55 +02:00
uv.lock Update dependencies to latest versions: textual 5.0.1 and pytest 8.4.1 2025-07-29 16:07:50 +02:00