一个简单的通知中心提醒应用程序,使用了 Swift Argument Parser。
这个项目使用构建阶段来安装到 /usr/local/bin。 确保您可以写入该文件夹或更改构建阶段。
OVERVIEW: Command-line notifier
Schedule reminders from the command line. "remind -m 20 Stand up and stretch",
"remind --at 1:30P Call Bob", "remind --at 13:30 Leave for Dr visit". Any
notifications scheduled earlier in the day (say it is now 2PM and you set a
reminder for 11:30), are pushed forward one day.
USAGE: remind [<message> ...] [--minutes <minutes>] [--hours <hours>] [--days <days>] [--when <when>] [--list]
ARGUMENTS:
<message> Notification message.
OPTIONS:
-m, --minutes <minutes> Delay in minutes. (default: 0)
-h, --hours <hours> Delay in hours. (default: 0)
-d, --days <days> Delay in days. (default: 0)
-t, --at, --time, --when <when>
Sets time for scheduled reminder.
-l, --list Lists scheduled notifications then quits.
--help Show help information.
chmod u+w /usr/local/bin