Closed jerry-yuan closed 1 year ago
I think there is some problem in setting default value of priority when giving the parameters' values in cli.json directly.
If I set the --priority
parameter, it works well. But the priority has been claimed that it has a default value with 0.
Good catch. I'm open for PRs for this bug.
I'd like to use gotify-cli in some automatic scripts invoked by some other services. When I tried to make a parameter settings like these and without the cli.json:
gotify-cli push --url http://gotify.xxxxxxxx.com --token someToken messages
I got a golang panic both on Linux and Windows:But if I run
gotify-cli init
or create a cli.json file with same url and token, it works well.