Skip to content

Commit 3c2ba25

Browse files
authored
Update README.md (#40)
1 parent 95cc125 commit 3c2ba25

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ $ http -f POST "https://push.example.de/message?token=<apptoken>" title="my titl
2525

2626
## Installation
2727

28-
Download the [latest release][release] for your os: (this example uses version `v1.2.0`)
28+
Download the [latest release][release] for your os: (this example uses version `v2.2.0`)
2929
```bash
30-
$ wget -O gotify https://github.com/gotify/cli/releases/download/v1.2.0/gotify-cli-linux-amd64
30+
$ wget -O gotify https://github.com/gotify/cli/releases/download/v2.2.0/gotify-cli-linux-amd64
3131
# or
32-
$ curl -Lo gotify https://github.com/gotify/cli/releases/download/v1.2.0/gotify-cli-linux-amd64
32+
$ curl -Lo gotify https://github.com/gotify/cli/releases/download/v2.2.0/gotify-cli-linux-amd64
3333
```
3434
Make `gotify` executable:
3535
```bash
@@ -41,9 +41,9 @@ $ gotify version
4141
```
4242
It should output something like this:
4343
```bash
44-
Version: 1.2.0
45-
Commit: ec4a598f124c149802038c74571aa704a6660c4a
46-
BuildDate: 2018-11-24-19:41:36
44+
Version: 2.2.0
45+
Commit: 95cc125e39f805a1369b0c746c8bf3af15797a57
46+
BuildDate: 2020-09-25-16:27:04
4747
```
4848
*(optional)* Move the executable to a folder on your `$PATH`:
4949
```bash
@@ -67,17 +67,17 @@ $ gotify watch "curl http://example.com/api | jq '.data'"
6767

6868
## Help
6969

70-
**Uses version `v2.1.0`**
70+
**Uses version `v2.2.0`**
7171

7272
```bash
7373
NAME:
7474
Gotify - The official Gotify-CLI
7575

7676
USAGE:
77-
cli [global options] command [command options] [arguments...]
77+
gotify [global options] command [command options] [arguments...]
7878

7979
VERSION:
80-
2.1.0
80+
2.2.0
8181

8282
COMMANDS:
8383
init Initializes the Gotify-CLI
@@ -96,15 +96,15 @@ GLOBAL OPTIONS:
9696

9797
```
9898
NAME:
99-
cli watch - watch the result of a command and pushes output difference
99+
gotify watch - watch the result of a command and pushes output difference
100100
101101
USAGE:
102-
cli watch [command options] <cmd>
102+
gotify watch [command options] <cmd>
103103
104104
OPTIONS:
105105
--interval value, -n value watch interval (sec) (default: 2)
106106
--priority value, -p value Set the priority (default: 0)
107-
--exec value, -x value Pass command to exec (default to "sh -c")
107+
--exec value, -x value Pass command to exec (default: "sh -c")
108108
--title value, -t value Set the title (empty for command)
109109
--token value Override the app token
110110
--url value Override the Gotify URL

0 commit comments

Comments
 (0)