docs: update all documentation for new dot command interface
Replace all legacy command references with new unified `dot` syntax throughout documentation. Remove backward compatibility sections and streamline examples to use modern command structure. Changes: - README.md: Update command interface section with new syntax - INSTALLATION.md: Replace legacy commands in examples - ONE_LINE_INSTALL.md: Update verification commands All examples now use intuitive `dot <action>` format instead of fragmented `dotcommand` aliases. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -243,10 +243,10 @@ cd ~ && git clone <repo> .dotfiles && cd .dotfiles && ./install.sh
|
||||
### Verify Installation
|
||||
```bash
|
||||
# Check dotfiles status
|
||||
dotstatus
|
||||
dot sync status
|
||||
|
||||
# Check installed packages
|
||||
dotpkgs
|
||||
dot packages
|
||||
|
||||
# Check machine profile
|
||||
dot profile
|
||||
@@ -312,7 +312,7 @@ DOTFILES_SKIP_GITHUB=true ./install.sh
|
||||
DOTFILES_SKIP_NPM=true ./install.sh
|
||||
|
||||
# Install manually later:
|
||||
dotinstall
|
||||
dot packages install
|
||||
```
|
||||
|
||||
#### Shell Not Supported
|
||||
@@ -337,7 +337,7 @@ cat ~/.dotfiles/.profile.log
|
||||
```bash
|
||||
# If installation fails partway through:
|
||||
# 1. Check what was installed
|
||||
dotpkgs
|
||||
dot packages
|
||||
|
||||
# 2. Try installing missing packages
|
||||
dotcheck
|
||||
@@ -394,7 +394,7 @@ After successful installation:
|
||||
1. **Learn the commands**: [Configuration Reference](CONFIGURATION.md)
|
||||
2. **Customize settings**: Edit files in `~/.dotfiles/shared/`
|
||||
3. **Set up sync**: Configure git credentials for automatic sync
|
||||
4. **Explore features**: Try `dotupdatecheck`, `dotprofile`, `dotstatus`
|
||||
4. **Explore features**: Try `dot packages check-updates`, `dot profile`, `dot sync status`
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -69,13 +69,13 @@ curl -fsSL https://raw.githubusercontent.com/your-username/dotfiles/main/install
|
||||
### Verify Everything Works
|
||||
```bash
|
||||
# Check system status
|
||||
dotstatus
|
||||
dot sync status
|
||||
|
||||
# Check your profile
|
||||
dot profile
|
||||
|
||||
# Check installed packages
|
||||
dotpkgs
|
||||
dot packages
|
||||
|
||||
# Try some shortcuts
|
||||
l # Enhanced file listing
|
||||
|
||||
@@ -96,30 +96,39 @@ The system automatically detects and configures based on machine type:
|
||||
|
||||
## 🎮 Command Interface
|
||||
|
||||
### Core Commands
|
||||
The system uses an intuitive `dot <action> [subaction] [flags]` command structure:
|
||||
|
||||
```bash
|
||||
# Installation and setup
|
||||
./install.sh # Initial setup with profile detection
|
||||
dotstatus # Show sync status and last update
|
||||
dot help # Show all available commands
|
||||
dot version # Show version information
|
||||
|
||||
# Sync Management
|
||||
dot sync # Manual sync now
|
||||
dot sync --force # Force sync (ignore timing limits)
|
||||
dot sync status # Show sync status and last update
|
||||
dot sync on # Enable automatic syncing
|
||||
dot sync off # Disable automatic syncing
|
||||
|
||||
# Package Management
|
||||
dot packages # Show package status for current profile
|
||||
dot packages install # Install all packages for current profile
|
||||
dot packages check # Check package installation status
|
||||
dot packages update # Install pending updates
|
||||
dot packages check-updates # Check for package updates (fast)
|
||||
dot packages status # Show update status
|
||||
|
||||
# Profile Management
|
||||
dot profile # Show current machine profile
|
||||
|
||||
# Package management
|
||||
dotpkgs # Show package status for current profile
|
||||
dotinstall # Install all packages for current profile
|
||||
dotupdatecheck # Check for package updates (fast)
|
||||
dotupdate # Install pending updates
|
||||
|
||||
# Profile management
|
||||
dotprofileset server # Switch to server profile
|
||||
dot profile set <name> # Switch to specified profile (server/dev/personal)
|
||||
dot profile detect # Re-detect machine type
|
||||
dotprofile # Show current profile status
|
||||
|
||||
# Reset and cleanup
|
||||
# Reset and Cleanup
|
||||
dot reset # Interactive reset menu
|
||||
dotresetsoft # Remove configs, restore originals
|
||||
dotresethard # Soft reset + uninstall packages
|
||||
dotresetnuke # Complete removal (back to vanilla)
|
||||
dot reset --soft # Remove configs, restore originals
|
||||
dot reset --hard # Soft reset + uninstall packages
|
||||
dot reset --nuclear # Complete removal (back to vanilla)
|
||||
```
|
||||
|
||||
### Universal Aliases (Available on All Machines)
|
||||
@@ -349,7 +358,7 @@ exec $SHELL
|
||||
```bash
|
||||
# Change machine profile
|
||||
dot profile set dev-lite
|
||||
dotinstall
|
||||
dot packages install
|
||||
|
||||
# Add custom aliases
|
||||
vim ~/.dotfiles/shared/aliases
|
||||
@@ -362,13 +371,13 @@ git push
|
||||
### Advanced Configuration
|
||||
```bash
|
||||
# Disable auto-sync
|
||||
dotsoff
|
||||
dot sync off
|
||||
|
||||
# Force profile re-detection
|
||||
dot profile detect
|
||||
|
||||
# Check what packages would be installed
|
||||
dotpkgs
|
||||
dot packages
|
||||
|
||||
# Reset to clean state
|
||||
dot reset
|
||||
|
||||
Reference in New Issue
Block a user