1
0
Fork 0
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:
postmannen 2024-12-25 18:02:41 +01:00
parent e0f4671534
commit 0edbc43804

View file

@ -1,6 +1,6 @@
# 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.
@ -8,7 +8,7 @@ On Linux and Darwin, the shell interpreter can also be auto detected by setting
---
- toNodes:
- node2
UseDetectedShell: true
useDetectedShell: true
method: cliCommand
methodArgs:
- |