Add examples in the README

tags/patrix-0.1.4-1
Daniel Berteaud 7 years ago
parent 2f7f119a53
commit 836d648700
  1. 12
      README.md

@ -40,3 +40,15 @@ room=!BWdARvAgNQGgSjgtAG:matrix.domain.com
```
Options given on the command line take precedence over the config file
Examples:
```
cat /var/log/boot.log | patrix --room='#bootlogs:matrix.domain.com' --action=send-notice
```
```
patrix --action=send-file --file=/home/dani/archive.tgz --user=dani --password=secret --server=matrix.domain.com
```
```
patrix --debug --message="Hello World"
```

Loading…
Cancel
Save