CLI Mode
LemonUp can be used non-interactively for automation and scripting.
Basic Usage
bash
# Launch the TUI (default)
lemonup
# Update all addons via CLI
lemonup --cliCommand Line Flags
| Flag | Short | Description |
|---|---|---|
--force | -f | Force update regardless of version |
--dry-run | -d | Preview changes without applying |
--dev | Enable development mode | |
--help | -h | Show help information |
--version | -v | Show version number |
Examples
Force Update All Addons
Re-download all addons even if they're up to date:
bash
lemonup --cli --forceForce update with preview:
bash
lemonup --cli --force --dry-runAutomation
Cron Job Example
Check for updates daily at 6 AM:
bash
0 6 * * * /usr/local/bin/lemonup --cli --force 2>&1 | logger -t lemonupShell Script Example
bash
#!/bin/bash
# Update addons before launching WoW
lemonup --cli --force
if [ $? -eq 0 ]; then
echo "Addons updated successfully"
else
echo "Update failed"
exit 1
fiExit Codes
| Code | Meaning |
|---|---|
0 | Success |
1 | General error |
2 | Invalid arguments |
Development Mode
The --dev flag enables additional features for testing:
- Lower auto-check intervals (1, 5, 15 minutes)
- Countdown timer in header
- Terminal dimension display
- Extended debug logging
