14 Commits

Author SHA1 Message Date
Helmut K. C. Tessarek
1ddc49a1e5 allow to pass the token via env var GOTIFY_TOKEN
Passing the token as an argument has the implication that the token will
show up in the process list.
To solve this issue an environment variable `GOTIFY_TOKEN` can be used
to pass the token to gotify.

Example:

```
GOTIFY_TOKEN=app_token_here
MSG="Test message"

gotify push $MSG
```
2023-05-08 16:00:38 +02:00
Helmut K. C. Tessarek
47a6c24697 fix panic when no config and no priority argument 2023-05-08 15:57:05 +02:00
z-nexx
c8bb424d49 Add --clickUrl support 2021-10-28 18:05:14 +00:00
Avner Cohen
a38bf37dcd Add ability to set a default priority for cli client, fix #2 2020-05-21 12:45:25 +02:00
Avner Cohen
55aac8cd0f Add environment variable and docs to allow skip TLS verification - Fix #27 2020-05-21 10:15:43 +02:00
饺子w
170fbabb1b add watch command output (#20) 2019-04-23 17:45:51 +08:00
Jannis Mattheis
64946911f7 Evaluate backslash n in message content 2019-04-19 11:49:23 +02:00
Jannis Mattheis
901bd4e29f Add contentType property 2019-04-14 16:08:25 +02:00
Jannis Mattheis
a9d5ea9422 Version v2 2019-04-14 16:08:25 +02:00
Jannis Mattheis
f1f35a8b22 Use client v2.0.4 2019-04-14 16:08:25 +02:00
Jannis Mattheis
cc2b233ef3 Add push command 2018-11-24 20:16:18 +01:00
Jannis Mattheis
6ee67cf0a3 Add init command 2018-11-24 20:16:18 +01:00
Jannis Mattheis
5de8f79e75 Add config command 2018-11-24 20:16:18 +01:00
Jannis Mattheis
a32d4ef36c Add version command 2018-11-24 20:16:18 +01:00