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
|
### Verify Installation
|
||||||
```bash
|
```bash
|
||||||
# Check dotfiles status
|
# Check dotfiles status
|
||||||
dotstatus
|
dot sync status
|
||||||
|
|
||||||
# Check installed packages
|
# Check installed packages
|
||||||
dotpkgs
|
dot packages
|
||||||
|
|
||||||
# Check machine profile
|
# Check machine profile
|
||||||
dot profile
|
dot profile
|
||||||
@@ -312,7 +312,7 @@ DOTFILES_SKIP_GITHUB=true ./install.sh
|
|||||||
DOTFILES_SKIP_NPM=true ./install.sh
|
DOTFILES_SKIP_NPM=true ./install.sh
|
||||||
|
|
||||||
# Install manually later:
|
# Install manually later:
|
||||||
dotinstall
|
dot packages install
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Shell Not Supported
|
#### Shell Not Supported
|
||||||
@@ -337,7 +337,7 @@ cat ~/.dotfiles/.profile.log
|
|||||||
```bash
|
```bash
|
||||||
# If installation fails partway through:
|
# If installation fails partway through:
|
||||||
# 1. Check what was installed
|
# 1. Check what was installed
|
||||||
dotpkgs
|
dot packages
|
||||||
|
|
||||||
# 2. Try installing missing packages
|
# 2. Try installing missing packages
|
||||||
dotcheck
|
dotcheck
|
||||||
@@ -394,7 +394,7 @@ After successful installation:
|
|||||||
1. **Learn the commands**: [Configuration Reference](CONFIGURATION.md)
|
1. **Learn the commands**: [Configuration Reference](CONFIGURATION.md)
|
||||||
2. **Customize settings**: Edit files in `~/.dotfiles/shared/`
|
2. **Customize settings**: Edit files in `~/.dotfiles/shared/`
|
||||||
3. **Set up sync**: Configure git credentials for automatic sync
|
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
|
### Verify Everything Works
|
||||||
```bash
|
```bash
|
||||||
# Check system status
|
# Check system status
|
||||||
dotstatus
|
dot sync status
|
||||||
|
|
||||||
# Check your profile
|
# Check your profile
|
||||||
dot profile
|
dot profile
|
||||||
|
|
||||||
# Check installed packages
|
# Check installed packages
|
||||||
dotpkgs
|
dot packages
|
||||||
|
|
||||||
# Try some shortcuts
|
# Try some shortcuts
|
||||||
l # Enhanced file listing
|
l # Enhanced file listing
|
||||||
|
|||||||
@@ -96,30 +96,39 @@ The system automatically detects and configures based on machine type:
|
|||||||
|
|
||||||
## 🎮 Command Interface
|
## 🎮 Command Interface
|
||||||
|
|
||||||
### Core Commands
|
The system uses an intuitive `dot <action> [subaction] [flags]` command structure:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Installation and setup
|
# Installation and setup
|
||||||
./install.sh # Initial setup with profile detection
|
./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 # 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
|
dot profile # Show current machine profile
|
||||||
|
dot profile set <name> # Switch to specified profile (server/dev/personal)
|
||||||
# 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 detect # Re-detect machine type
|
dot profile detect # Re-detect machine type
|
||||||
dotprofile # Show current profile status
|
|
||||||
|
|
||||||
# Reset and cleanup
|
# Reset and Cleanup
|
||||||
dot reset # Interactive reset menu
|
dot reset # Interactive reset menu
|
||||||
dotresetsoft # Remove configs, restore originals
|
dot reset --soft # Remove configs, restore originals
|
||||||
dotresethard # Soft reset + uninstall packages
|
dot reset --hard # Soft reset + uninstall packages
|
||||||
dotresetnuke # Complete removal (back to vanilla)
|
dot reset --nuclear # Complete removal (back to vanilla)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Universal Aliases (Available on All Machines)
|
### Universal Aliases (Available on All Machines)
|
||||||
@@ -349,7 +358,7 @@ exec $SHELL
|
|||||||
```bash
|
```bash
|
||||||
# Change machine profile
|
# Change machine profile
|
||||||
dot profile set dev-lite
|
dot profile set dev-lite
|
||||||
dotinstall
|
dot packages install
|
||||||
|
|
||||||
# Add custom aliases
|
# Add custom aliases
|
||||||
vim ~/.dotfiles/shared/aliases
|
vim ~/.dotfiles/shared/aliases
|
||||||
@@ -362,13 +371,13 @@ git push
|
|||||||
### Advanced Configuration
|
### Advanced Configuration
|
||||||
```bash
|
```bash
|
||||||
# Disable auto-sync
|
# Disable auto-sync
|
||||||
dotsoff
|
dot sync off
|
||||||
|
|
||||||
# Force profile re-detection
|
# Force profile re-detection
|
||||||
dot profile detect
|
dot profile detect
|
||||||
|
|
||||||
# Check what packages would be installed
|
# Check what packages would be installed
|
||||||
dotpkgs
|
dot packages
|
||||||
|
|
||||||
# Reset to clean state
|
# Reset to clean state
|
||||||
dot reset
|
dot reset
|
||||||
|
|||||||
Reference in New Issue
Block a user