Sends out pushes to all iOS (or tvOS) devices registered in Parse. Currently only targets to iOS or tvOS.
Create a .env file in the repo or set environment variables. Set the following variables:
PARSE_APP_ID: App id used for this parse appsome-fancy-appPARSE_SERVER_URL: Parse server URL e.g.https://example.com/parsePARSE_KEY: The master key (not the JS key) configured for the server
After config supply CLI options. Either --silent or --title is required
-l/--language: Target language starting the the argument. Eg.-l detargets German devices-s/--silent: Send silent push (Note: Can be combined with-tetc. to send low priority push that still wakes the app in the background)-a/--alert: Body/alert-t/--title: Optional title to set--sound: Sends thedefaultalert sound--url: Sets a keyurlinto the payload with the given value. Used for e.g. deep-linking. Note that using this requires handling this in the iOS/tvOS app.--badge: Needs to be anumber, sets the badge-p/--platform: Valid values areiosortvos. Defaults toios. Note that tvOS only processes--silentor--badgepushes.--timesensetive: If set send push withtime-sensetiveinterruption level (required entitlment in the app)