Stars: 128
Forks: 3
Pull Requests: 45
Issues: 4
Watchers: 2
Last Updated: 2023-05-31 13:25:56
The official Oh Dear CLI
License: MIT License
Languages: PHP, Shell, Blade, Dockerfile
Oh Dear CLI was created by Nuno Maduro and Owen Voke, and is an Oh Dear CLI tool written in PHP with Laravel Zero.
Requires PHP 8.1+
Via Composer
composer global require ohdearapp/ohdear-cliVia Docker
docker run --rm ghcr.io/ohdearapp/ohdear-cli:latestVia Homebrew
brew install ohdear-cliIf Brew can't find the formula, try running brew update.
Once the Oh Dear CLI is installed, set your API key in the OHDEAR_API_TOKEN environment variable, you can generate one from the API access page.
ohdear listohdear meohdear application-health:show [id]ohdear broken-link:show [site-id]ohdear certificate-health:show [site-id] [--checks] [--issuers]--checks or --issuers for additional information)ohdear check:disable [id]ohdear check:enable [id]ohdear check:request-run [id]ohdear check:show [site-id]ohdear cron-check:add [site-id] [name] [frequency-or-expression] [--grace-time=5] [--description=] [--timezone=UTC]ohdear cron-check:delete [id]ohdear cron-check:show [site-id]ohdear dns-history:list [site-id]ohdear dns-history:show [site-id] [id]ohdear lighthouse-report:list [site-id]ohdear lighthouse-report:show [site-id]ohdear lighthouse-report:show [site-id] [id]ohdear maintenance-period:add [site-id] [start-date] [end-date]ohdear maintenance-period:delete [id]ohdear maintenance-period:show [id]ohdear maintenance-period:start [site-id] [seconds]ohdear maintenance-period:stop [site-id]ohdear mixed-content:show [site-id]ohdear performance:show [id] [start-date?] [end-date?] [--limit=5] [--timeframe=1h]ohdear sites:add [url]ohdear sites:listohdear sites:show [id]ohdear status-pages:listohdear status-pages:show [id]ohdear status-page-updates:add [status-page-id] [title] [text] [--severity=info] [--pinned] [--time=]ohdear status-page-updates:list [status-page-id]ohdear status-page-updates:delete [id]ohdear uptime:show [site-id] [start-date?] [end-date?] [--limit=10] [--timeframe=hour]ohdear downtime:show [site-id] [start-date?] [end-date?] [--limit=10]Thank you for considering contributing to Oh Dear CLI. All contributions are welcome via pull requests.
You can have a look at the CHANGELOG for constant updates & detailed information about the changes.
Oh Dear CLI is an open-sourced software licensed under the MIT license.