How onliveserver/oswp works
OSWP is a small Bash command-line tool for maintaining WordPress sites hosted under cPanel. An administrator selects users or all users; OSWP scans the documented home directories for installations, then performs updates and cleanup, with an optional force-reinstall mode. The README documents these capabilities and WP-CLI as a requirement, but no source excerpts were available, so internal call order and implementation details cannot be verified.
Main entry points: oswp.sh Installation scanning
Components 11
Targeting and discovery
- OSWP command
oswp.sh - User selection
oswp.sh - Installation scanning
oswp.sh
WordPress maintenance
- Core updates
oswp.sh - Plugin updates and cleanup
oswp.sh - Theme updates and cleanup
oswp.sh - Permission fixes
oswp.sh - Force reinstall
oswp.sh
External environment
- WP-CLI
- cPanel home directories
Other components
- Administrator
Connections 15
- Administrator → OSWP command: runs
README.md - OSWP command → User selection: accepts targets
README.md - User selection → Installation scanning: selects installations
README.md - Installation scanning → cPanel home directories: scans directories
README.md - Installation scanning → Core updates: updates core
README.md - Installation scanning → Plugin updates and cleanup: updates and removes
README.md - Installation scanning → Theme updates and cleanup: updates and cleans
README.md - Installation scanning → Permission fixes: fixes permissions
README.md - OSWP command → Force reinstall: offers force mode
README.md - Force reinstall → Core updates: reinstalls
README.md - Force reinstall → Plugin updates and cleanup: reinstalls
README.md - Force reinstall → Theme updates and cleanup: reinstalls
README.md - Core updates → WP-CLI: uses
README.md - Plugin updates and cleanup → WP-CLI: uses
README.md - Theme updates and cleanup → WP-CLI: uses
README.md