--message
/ -m
νλκ·Έκ° μλ¦Όμ λ©μμ§ νλλ₯Ό μ¬λ°λ₯΄κ² μ€μ νμ§ μμ΅λλ€. 무μμ μ§μ νλ λ©μμ§ νλλ νμ "Done!" λ¬Έμμ΄μ
λλ€.
noti -t "My Title" -m "My Message"
μ΄ λ¬Έμ λ κ΅¬μ± νμΌμ΄ μμ λ λ°μν©λλ€. @heidarkκ° μ§μ ν λλ‘ λΉ νμΌμ μ΄λ₯Ό ν΄κ²°ν©λλ€.
μλ¦Ό νμ μ λ©μμ§ νλ/μμ± νλ μ "λ΄ λ©μμ§"μ λλ€.
λ©μμ§ νλλ κΈ°λ³Έ λ¬Έμμ΄ "Done!"μΌλ‘ μ μ§λ©λλ€.
3.0.0
, MacO 10.13.2μμ Homebrewλ₯Ό ν΅ν΄ μ€μΉ
ν , μ΄μνλ€. λλ λ°μ±ν μ μλ κ² κ°λ€. μ΄ λͺ λ Ήμ μΆλ ₯μ 곡μ ν μ μμ΅λκΉ?
noti --verbose -t "My Title" -m "My Message"
νμ€ν κ²:
$ noti --verbose -t "My Title" -m "My Message"
Failed to configure: failed to read config file: [open .noti.yaml: no such file or directory open /Users/tkc/.config/noti/noti.yaml: no such file or directory]
title: My Title
Running command: []
Services: map[banner:{}]
Viper: map[title:My Title say:map[voice:Alex] pushbullet:map[accesstoken:] bearychat:map[incominghookuri:] message:Done! simplepush:map[key: event:] slack:map[channel: username:noti token:] hipchat:map[room: accesstoken:] defaults:[banner] espeak:map[voicename:english-us] pushover:map[apitoken: userkey:] nsuser:map[soundnamefail:Basso soundname:Ping] pushsafer:map[key:] speechsynthesizer:map[voice:Microsoft David Desktop]]
1 notifications queued
Sent: *nsuser.Notification
notiλ₯Ό μ€νν λ νμ¬ μλ ν΄λμ .noti.yamlμ΄ μμΌλ©΄ λ©μμ§ νλκ·Έλ₯Ό 무μν©λλ€.
λΉ .noti.yaml νμΌμ μμ±νλ©΄ λ¬Έμ κ° ν΄κ²°λμ§λ§ ν΄λΉ λλ ν 리μλ§ ν΄λΉλ©λλ€.
λ¬Έμ λ λ€μκ³Ό κ°μ΅λλ€.
https://github.com/variadico/noti/blob/960a214d7f2b2ef4866ac8f90048b65032c7c9bf/internal/command/config.go#L182 -L192
λΉ νμΌ ~/.config/noti/noti.yaml
μμ±μ΄ μ±κ³΅νμ΅λλ€. @heidarkμκ² κ°μ¬λ립λλ€.
μ€μ€, μ’μ! μ΄μ νμ€ν μ¬νν μ μμ΅λλ€! @heidark κ°μ¬ν©λλ€! ν¨μΉ 릴리μ€κ° 곧 μ¬ κ²μ λλ€!
λͺ¨λ κ°μ¬ν©λλ€!
λλ μ΄κ²μ΄ μ΅μ dev μμ μμ λμ΄μΌ νλ€κ³ μκ°ν©λλ€.
μ§κΈ λ«μ΅λλ€. ν¨μΉ 릴리μ€κ° 곧 μ¬ κ²μ λλ€!
κ°μ₯ μ μ©ν λκΈ
notiλ₯Ό μ€νν λ νμ¬ μλ ν΄λμ .noti.yamlμ΄ μμΌλ©΄ λ©μμ§ νλκ·Έλ₯Ό 무μν©λλ€.
λΉ .noti.yaml νμΌμ μμ±νλ©΄ λ¬Έμ κ° ν΄κ²°λμ§λ§ ν΄λΉ λλ ν 리μλ§ ν΄λΉλ©λλ€.
λ¬Έμ λ λ€μκ³Ό κ°μ΅λλ€.
https://github.com/variadico/noti/blob/960a214d7f2b2ef4866ac8f90048b65032c7c9bf/internal/command/config.go#L182 -L192