mirror of
https://github.com/postmannen/ctrl.git
synced 2025-03-31 01:24:31 +00:00
fixed typo in readme
This commit is contained in:
parent
e0f4671534
commit
0edbc43804
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
# cliCommand
|
# cliCommand
|
||||||
|
|
||||||
With **cliCommand** you specify the command to run in **methodArgs** prefixed with the interpreter to use, for example **bash**
|
With **cliCommand** you specify the command to run in **methodArgs** prefixed with the interpreter to use, for example with bash **bash** `"bash","-c","tree"`.
|
||||||
|
|
||||||
On Linux and Darwin, the shell interpreter can also be auto detected by setting the value of **useDetectedShell** in the message to **true**. If set to true the methodArgs only need a single string value with command to run. Example below.
|
On Linux and Darwin, the shell interpreter can also be auto detected by setting the value of **useDetectedShell** in the message to **true**. If set to true the methodArgs only need a single string value with command to run. Example below.
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ On Linux and Darwin, the shell interpreter can also be auto detected by setting
|
||||||
---
|
---
|
||||||
- toNodes:
|
- toNodes:
|
||||||
- node2
|
- node2
|
||||||
UseDetectedShell: true
|
useDetectedShell: true
|
||||||
method: cliCommand
|
method: cliCommand
|
||||||
methodArgs:
|
methodArgs:
|
||||||
- |
|
- |
|
||||||
|
|
Loading…
Add table
Reference in a new issue