mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 12:06:45 +00:00
🎨 update mole to mo
This commit is contained in:
@@ -47,7 +47,7 @@ brew install tw93/tap/mole
|
||||
**Run:**
|
||||
|
||||
```bash
|
||||
mo # Shortcut alias for Mole
|
||||
mo # Interactive menu
|
||||
mo clean # System cleanup
|
||||
mo clean --dry-run # Preview mode
|
||||
mo clean --whitelist # Manage protected caches
|
||||
@@ -56,8 +56,8 @@ mo analyze # Disk analyzer
|
||||
mo update # Update Mole
|
||||
mo remove # Remove Mole from system
|
||||
mo --help # Show help
|
||||
|
||||
// If the command is not found, you can enter `mole update` to upgrade to the latest version.
|
||||
mo --version # Show installed version
|
||||
# If the command is not found, run `mole update` once to upgrade to the latest version.
|
||||
```
|
||||
|
||||
> Recommended start with `mo clean --dry-run` to preview, `mo clean --whitelist` to protect caches
|
||||
|
||||
26
install.sh
26
install.sh
@@ -352,19 +352,21 @@ print_usage_summary() {
|
||||
echo ""
|
||||
echo "Usage:"
|
||||
if [[ ":$PATH:" == *":$INSTALL_DIR:"* ]]; then
|
||||
echo " mo # Shortcut alias for Mole"
|
||||
echo " mole # Interactive menu"
|
||||
echo " mole clean # System cleanup"
|
||||
echo " mole uninstall # Remove applications"
|
||||
echo " mole update # Update Mole to the latest version"
|
||||
echo " mole --version # Show installed version"
|
||||
echo " mo # Interactive menu"
|
||||
echo " mo clean # System cleanup"
|
||||
echo " mo uninstall # Remove applications"
|
||||
echo " mo update # Update Mole to the latest version"
|
||||
echo " mo remove # Remove Mole from the system"
|
||||
echo " mo --version # Show installed version"
|
||||
echo " mo --help # Show this help message"
|
||||
else
|
||||
echo " $INSTALL_DIR/mo # Shortcut alias for Mole"
|
||||
echo " $INSTALL_DIR/mole # Interactive menu"
|
||||
echo " $INSTALL_DIR/mole clean # System cleanup"
|
||||
echo " $INSTALL_DIR/mole uninstall # Remove applications"
|
||||
echo " $INSTALL_DIR/mole update # Update Mole to the latest version"
|
||||
echo " $INSTALL_DIR/mole --version # Show installed version"
|
||||
echo " $INSTALL_DIR/mo # Interactive menu"
|
||||
echo " $INSTALL_DIR/mo clean # System cleanup"
|
||||
echo " $INSTALL_DIR/mo uninstall # Remove applications"
|
||||
echo " $INSTALL_DIR/mo update # Update Mole to the latest version"
|
||||
echo " $INSTALL_DIR/mo remove # Remove Mole from the system"
|
||||
echo " $INSTALL_DIR/mo --version # Show installed version"
|
||||
echo " $INSTALL_DIR/mo --help # Show this help message"
|
||||
fi
|
||||
echo ""
|
||||
}
|
||||
|
||||
21
mole
21
mole
@@ -124,17 +124,16 @@ show_help() {
|
||||
show_brand_banner
|
||||
echo
|
||||
printf "%s%s%s\n" "$BLUE" "COMMANDS" "$NC"
|
||||
printf " %s%-28s%s %s\n" "$GREEN" "mo" "$NC" "Shortcut alias for Mole"
|
||||
printf " %s%-28s%s %s\n" "$GREEN" "mole" "$NC" "Interactive main menu"
|
||||
printf " %s%-28s%s %s\n" "$GREEN" "mole clean" "$NC" "Deeper system cleanup"
|
||||
printf " %s%-28s%s %s\n" "$GREEN" "mole clean --dry-run" "$NC" "Preview cleanup (no deletions)"
|
||||
printf " %s%-28s%s %s\n" "$GREEN" "mole clean --whitelist" "$NC" "Manage protected caches"
|
||||
printf " %s%-28s%s %s\n" "$GREEN" "mole uninstall" "$NC" "Remove applications completely"
|
||||
printf " %s%-28s%s %s\n" "$GREEN" "mole analyze" "$NC" "Interactive disk space explorer"
|
||||
printf " %s%-28s%s %s\n" "$GREEN" "mole update" "$NC" "Update Mole to the latest version"
|
||||
printf " %s%-28s%s %s\n" "$GREEN" "mole remove" "$NC" "Remove Mole from the system"
|
||||
printf " %s%-28s%s %s\n" "$GREEN" "mole --version" "$NC" "Show installed version"
|
||||
printf " %s%-28s%s %s\n" "$GREEN" "mole --help" "$NC" "Show this help message"
|
||||
printf " %s%-28s%s %s\n" "$GREEN" "mo" "$NC" "Interactive main menu"
|
||||
printf " %s%-28s%s %s\n" "$GREEN" "mo clean" "$NC" "Deeper system cleanup"
|
||||
printf " %s%-28s%s %s\n" "$GREEN" "mo clean --dry-run" "$NC" "Preview cleanup (no deletions)"
|
||||
printf " %s%-28s%s %s\n" "$GREEN" "mo clean --whitelist" "$NC" "Manage protected caches"
|
||||
printf " %s%-28s%s %s\n" "$GREEN" "mo uninstall" "$NC" "Remove applications completely"
|
||||
printf " %s%-28s%s %s\n" "$GREEN" "mo analyze" "$NC" "Interactive disk space explorer"
|
||||
printf " %s%-28s%s %s\n" "$GREEN" "mo update" "$NC" "Update Mole to the latest version"
|
||||
printf " %s%-28s%s %s\n" "$GREEN" "mo remove" "$NC" "Remove Mole from the system"
|
||||
printf " %s%-28s%s %s\n" "$GREEN" "mo --version" "$NC" "Show installed version"
|
||||
printf " %s%-28s%s %s\n" "$GREEN" "mo --help" "$NC" "Show this help message"
|
||||
|
||||
printf "\n%s%s%s\n" "$BLUE" "MORE" "$NC"
|
||||
printf " https://github.com/tw93/mole\n\n"
|
||||
|
||||
Reference in New Issue
Block a user