feat: implement unified dot command interface

Add modern `dot <action> [subaction] [flags]` command structure to replace
fragmented legacy commands. Provides intuitive, self-documenting CLI with
comprehensive help system and error handling.

New commands:
- dot sync [status|on|off|--force]
- dot packages [list|install|check|update|status|check-updates]
- dot profile [show|set <name>|detect]
- dot reset [--soft|--hard|--nuclear]
- dot help, dot version

Features:
- Colored output with clear error messages
- Auto-sources required functions
- Short aliases supported (e.g. 'pkg' for 'packages')
- Removes all legacy dotcommand aliases for clean codebase

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Your Name
2025-08-02 21:52:18 -06:00
parent ce2b7e0194
commit cdd6388acf
2 changed files with 206 additions and 27 deletions

View File

@@ -61,33 +61,8 @@ alias myip='curl ifconfig.me'
alias path='echo $PATH | tr ":" "\n"'
alias reload='exec $SHELL'
# Dotfiles sync aliases
alias dotsync='dotfiles_sync_now'
alias dotsyncforce='dotfiles_sync_force'
alias dotstatus='dotfiles_sync_status'
alias dotson='dotfiles_sync_enable'
alias dotsoff='dotfiles_sync_disable'
# Package management aliases
alias dotpkgs='dotfiles_packages_status'
alias dotinstall='dotfiles_install_packages'
alias dotcheck='dotfiles_check_packages'
# Profile management aliases
alias dotprofile='dotfiles_profile_status'
alias dotprofileset='dotfiles_profile_set'
alias dotprofiledetect='dotfiles_profile_detect'
# Reset aliases
alias dotreset='$HOME/.dotfiles/reset.sh'
alias dotresetsoft='$HOME/.dotfiles/reset.sh --soft'
alias dotresethard='$HOME/.dotfiles/reset.sh --hard'
alias dotresetnuke='$HOME/.dotfiles/reset.sh --nuclear'
# Update aliases
alias dotupdatecheck='dotfiles_update_check'
alias dotupdatestatus='dotfiles_update_status'
alias dotupdate='dotfiles_update_install'
# Modern Dotfiles Management - Unified Command Interface
alias dot='$HOME/.dotfiles/shared/dot-command'
# Task Master aliases
alias tm='task-master'