Add examples in the README

This commit is contained in:
Daniel Berteaud 2017-09-07 15:08:31 +02:00
parent 2f7f119a53
commit 836d648700
1 changed files with 12 additions and 0 deletions

View File

@ -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"
```