chore: update readme
This commit is contained in:
parent
da10177a13
commit
69f70782b3
1 changed files with 7 additions and 3 deletions
10
README.md
10
README.md
|
@ -18,10 +18,14 @@ gem install is_master
|
||||||
It's simple:
|
It's simple:
|
||||||
```
|
```
|
||||||
is_master 10.0.254.2 ls -l
|
is_master 10.0.254.2 ls -l
|
||||||
```
|
|
||||||
or
|
|
||||||
```
|
|
||||||
is_master /path/to/file ls -l
|
is_master /path/to/file ls -l
|
||||||
|
is_slave 10.0.254.2 ls -l
|
||||||
|
is_slave /path/to/file ls -l
|
||||||
|
```
|
||||||
|
|
||||||
|
Output is `ls -l` result or:
|
||||||
|
```
|
||||||
|
OK - I am slave, i going to sleep
|
||||||
```
|
```
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue