1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-15 18:40:05 +00:00

feat: optimize log system and add mo log command

- Add get_timestamp() helper and optimize log rotation
- Create mo log viewer with search/filter capabilities
- Improve test coverage to 18.4% with better assertions
- Add security fixes for grep injection prevention
This commit is contained in:
tw93
2026-01-28 19:46:01 +08:00
parent f815a5f28c
commit 64f79a59d8
6 changed files with 385 additions and 45 deletions

View File

@@ -9,6 +9,7 @@ MOLE_COMMANDS=(
"status:Monitor system health"
"purge:Remove old project artifacts"
"installer:Find and remove installer files"
"log:View operation logs"
"touchid:Configure Touch ID for sudo"
"completion:Setup shell tab completion"
"update:Update to latest version"