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

refactor: rename installers command to installer across commands, script, and documentation.

This commit is contained in:
Tw93
2026-01-04 10:23:23 +08:00
parent 4680982ea1
commit ad42266b09
5 changed files with 39 additions and 90 deletions

5
mole
View File

@@ -222,7 +222,6 @@ show_help() {
printf " %s%-28s%s %s\n" "$GREEN" "mo optimize --dry-run" "$NC" "Preview optimization"
printf " %s%-28s%s %s\n" "$GREEN" "mo optimize --whitelist" "$NC" "Manage protected items"
printf " %s%-28s%s %s\n" "$GREEN" "mo purge --paths" "$NC" "Configure scan directories"
printf " %s%-28s%s %s\n" "$GREEN" "mo installers --debug" "$NC" "Find installer files"
echo
printf "%s%s%s\n" "$BLUE" "OPTIONS" "$NC"
printf " %s%-28s%s %s\n" "$GREEN" "--debug" "$NC" "Show detailed operation logs"
@@ -749,8 +748,8 @@ main() {
"purge")
exec "$SCRIPT_DIR/bin/purge.sh" "${args[@]:1}"
;;
"installers")
exec "$SCRIPT_DIR/bin/installers.sh" "${args[@]:1}"
"installer")
exec "$SCRIPT_DIR/bin/installer.sh" "${args[@]:1}"
;;
"touchid")
exec "$SCRIPT_DIR/bin/touchid.sh" "${args[@]:1}"