Helper scripts for managing the my-unicorn project.
- Updater:
scripts/update.bashis automate the my-unicorn cli usage with one command. It can be used in window manager widgets, cron jobs, or manually. - Installer:
./install.shis the main installation script for my-unicorn. Default use uv package manager to install my-unicorn. It also copy the update.bash script to~/.local/bin/my-unicorn-updatefor easy access. - Autocomplete:
scripts/autocomplete.bashprovides shell completion snippets. - Tests:
scripts/test.py- Python-based manual test suite (recommended) with colored output, better logging, and test result trackingscripts/test.bash- Legacy bash-based manual test suite (deprecated)
The manual test suite (test.py) provides comprehensive CLI testing for my-unicorn:
- Colored Console Output: ANSI color codes for better readability
- Structured Logging: Both console and file logging with timestamps
- Environment Detection: Auto-detects container vs normal machine
- Smart CLI Runner: Uses installed
my-unicornin containers,uv run my-unicornelsewhere - No External Dependencies: Pure Python, no jq required
- Test Result Tracking: Pass/fail tracking with summary
# Run quick tests (qownnotes only)
./scripts/test.py --quick
# Run all comprehensive tests
./scripts/test.py --all
# Enable debug logging
./scripts/test.py --debug --quickQuick Test (qownnotes):
- Remove qownnotes
- Install via URL
- Remove qownnotes
- Install from catalog
- Update qownnotes
Comprehensive Tests:
- URL installs: neovim + keepassxc
- Catalog installs: legcord + flameshot + appflowy + standard-notes
- Updates: All installed apps
See also: docs/wiki.md for full documentation.