mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 12:06:45 +00:00
docs: add --debug flag documentation and update tests
- Add --dry-run --debug usage examples to README - Add detailed preview tip explaining debug log features - Update tests/clean_core.bats for debug functionality - Closes GitHub issue #242
This commit is contained in:
@@ -60,8 +60,10 @@ mo --version # Show installed version
|
||||
|
||||
mo clean --dry-run # Preview the cleanup plan
|
||||
mo clean --whitelist # Manage protected caches
|
||||
mo clean --dry-run --debug # Detailed preview with risk levels and file info
|
||||
|
||||
mo optimize --dry-run # Preview optimization actions
|
||||
mo optimize --debug # Run with detailed operation logs
|
||||
mo optimize --whitelist # Manage protected optimization rules
|
||||
mo purge --paths # Configure project scan directories
|
||||
```
|
||||
@@ -75,6 +77,7 @@ mo purge --paths # Configure project scan directories
|
||||
- **Shell Completion**: Enable tab completion by running `mo completion` (auto-detect and install).
|
||||
- **Navigation**: Supports standard arrow keys and Vim bindings (`h/j/k/l`).
|
||||
- **Debug**: View detailed logs by appending the `--debug` flag (e.g., `mo clean --debug`).
|
||||
- **Detailed Preview**: Combine `--dry-run --debug` for comprehensive operation details including risk levels, file paths, sizes, and expected outcomes. Check `~/.config/mole/mole_debug_session.log` for full details.
|
||||
|
||||
## Features in Detail
|
||||
|
||||
|
||||
Reference in New Issue
Block a user