Skip to content

Commit 4b2a040

Browse files
committed
Updated documentation.
1 parent 61915a1 commit 4b2a040

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Docs/ChainCommands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ From version 1.0.4.0 of PowerCommands you can call two commands using one line,
44

55
The code below shows an example on how it could be used, in this case I first run the command `output` which is a really simple command that prints out what you input in the flag `--text`, then we use the | to let the runtime know that one more command should be run, in this case it is the file command, I am adding a --target flag with a file name.
66

7-
![Alt text](images/pipe_call.png?raw=true "Chain of commands")
7+
https://github.com/user-attachments/assets/b718cc18-2cbb-4812-b3a2-0d054e948a00
88

99
## Handling the output from the previous command
1010
If the target command needs the output from the calling command the target command must implement code pickup the output, let´s take a look on how this is implemented in the FileCommand class.

Docs/images/pipe_call.png

-8.33 KB
Binary file not shown.

0 commit comments

Comments
 (0)