コマンドラインからMacのNotification Centerで通知する
- そんなコマンドはないようだ
- AppleScriptから経由する方法があるようだ
display notification "test"
だから、こんなシェルを組んでみる
osascript -e "on run argv display notification (item 1 of argv) end run" $*
display notification "test"
だから、こんなシェルを組んでみる
osascript -e "on run argv display notification (item 1 of argv) end run" $*