P
pocketalert
Send push notifications and manage Pocket Alert resources via the pocketalert CLI. Use when the user wants to send push notifications, manage applications, devices, webhooks, or API keys through Pocket Alert. Handles message sending, application management, device management,
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Send push notifications and manage Pocket Alert resources via the pocketalert CLI. Use when the user wants to send push notifications, manage applications, devices, webhooks, or API keys through Pocket Alert. Handles message sending, application management, device management, webhook creation, and API key operations.
How to use
- Pobierz i zainstaluj narzędzie pocketalert CLI ze strony https://info.pocketalert.app/cli.html, a następnie rozpakuj je do katalogu /usr/local/bin/. 2. Uwierzytelnij się, uruchamiając polecenie pocketalert auth z Twoim kluczem API — otrzymasz go w panelu Pocket Alert. 3. Aby wysłać podstawowe powiadomienie, użyj pocketalert send -t "Tytuł" -m "Wiadomość" — powiadomienie trafi do wszystkich Twoich urządzeń. 4. Jeśli chcesz wysłać alert do konkretnej aplikacji, dodaj flagę -a z identyfikatorem aplikacji: pocketalert messages send -t "Deploy" -m "Build completed" -a
. 5. Aby wysłać powiadomienie do konkretnego urządzenia, użyj flagi -d z identyfikatorem urządzenia lub słowa kluczowego "all" dla wszystkich urządzeń: pocketalert messages send -t "Alert" -m "Check server" -d . 6. Zarządzaj zasobami za pomocą poleceń: pocketalert apps list (lista aplikacji), pocketalert devices list (lista urządzeń), pocketalert messages list (historia powiadomień) — możesz też tworzyć nowe aplikacje poleceniem pocketalert apps create -n "Nazwa".