ntfy icon indicating copy to clipboard operation
ntfy copied to clipboard

Reorganized config? Breaking change - 3.0?

Open dschep opened this issue 8 years ago • 1 comments
trafficstars

Adding the shell-integration in #123 top level key adds to the confusion of reserved keywords at the top level of the config. Additionally, it'd be neat if different sub-commands could have different default backends. For example ntfy shell-integration could use local notifications and nfty done could use push notifications.

Rough idea...

default-backends:
  done: pushover
  shell-integration: default
shell-integration:
  - timeout: 5
    backend: default
  - timeout: 60
    backend: pushover
backends:
  pushover:
    user_key: hunter2

dschep avatar Dec 15 '16 00:12 dschep

Or.. do what docker compose did and have a top level version key.

dschep avatar Dec 16 '16 04:12 dschep