Skip to content
innoying edited this page Jan 24, 2012 · 2 revisions

This binary allows access to creating notifications on iOS.

Syntax is as follows:

  • "-t" Title for the notification
  • "-m" Message content for the notification
  • "-d" Default button text
  • "-a" Alternate button text (no button if omitted)
  • "-o" Other button text (no button if omitted)
  • "-q" Timeout of notification (no timeout if omitted)
  • "-p" Prompt for text input
  • "-v" Default value for text input
  • "-h" Print the help message

The binary exits with the status of the button pressed. Each button corresponds with the following exit codes:

  • 0: Default Button
  • 1: Alternate Button
  • 2: Other Button
  • 3: Timeout

If there was a prompt for text it will print the resulted text to stdout.

Clone this wiki locally