Skip to content

Commit 3e4b0ee

Browse files
committed
Update example script in README.md
1 parent 4a8e150 commit 3e4b0ee

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

README.md

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,24 @@ to stdout, outputting logs and errors to stderr.
1313

1414
## Output Examples
1515

16-
Here is an example CMD script:
17-
18-
@echo off
19-
call :foo
20-
goto :eof
21-
:bar
22-
echo "in bar"
23-
call :baz
24-
call :baz
25-
:baz
26-
echo "in baz"
27-
:foo
28-
echo "In foo"
29-
goto :bar
16+
Given the following CMD script:
17+
18+
```
19+
@echo off
20+
call :foo
21+
goto :eof
22+
:bar
23+
echo "in bar"
24+
call :baz
25+
call :baz
26+
:baz
27+
echo "in baz"
28+
call powershell.exe Write-Host "Hello World from PowerShell"
29+
30+
:foo
31+
echo "In foo"
32+
goto :bar
33+
```
3034

3135
This script would generate the following graph:
3236

0 commit comments

Comments
 (0)