https://github.com/groob/yo-yo
Like outset for yo.
https://github.com/groob/yo-yo
golang macadmins macos notifications
Last synced: 11 months ago
JSON representation
Like outset for yo.
- Host: GitHub
- URL: https://github.com/groob/yo-yo
- Owner: groob
- Created: 2015-08-13T14:40:59.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2023-02-10T16:26:46.000Z (over 3 years ago)
- Last Synced: 2025-04-13T21:11:43.262Z (about 1 year ago)
- Topics: golang, macadmins, macos, notifications
- Language: Go
- Homepage:
- Size: 2.93 KB
- Stars: 20
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Like [outset](https://github.com/chilcote/outset) for [yo](https://github.com/sheagcraig/yo)
yo-yo traverses a directory for json or plist formatted code parameters for Yo, and creates notifications using yo.
Installing a LaunchAgent to watch a directory and trigger yo-yo allows applications running as root to deliver notifications to the session.
yo-yo deletes the notification file after successfully executing `yo`, promising at most once delivery. This won't work in a multi user context.
Notification file example:
The keys in the json or plist file mirror yo's cli flags.
```plist
title
Foo
subtitle
bar
```
yo-yo accepts the following options:
* `-n`: The directory containing the files for notifications.
* `-p`: The path to the Yo executable. Defaults to `/usr/local/bin/yo`.