Skip to content

Commit 0de8b0a

Browse files
committed
docs: amend args example
1 parent 783dd92 commit 0de8b0a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,31 +43,31 @@ npx junit-to-ctrf /path/to/junit.xml
4343
Convert a JUnit XML report to the default CTRF report location (ctrf/ctrf-report.json):
4444

4545
```sh
46-
npx junit-to-ctrf /path/to/junit.xml
46+
npx junit-to-ctrf path/to/junit.xml
4747
```
4848

4949
### Specify Output File
5050

5151
Convert a JUnit XML report to a specified output file:
5252

5353
```sh
54-
npx junit-to-ctrf /path/to/junit.xml -o /path/to/output/ctrf-report.json
54+
npx junit-to-ctrf path/to/junit.xml -o path/to/output/ctrf-report.json
5555
```
5656

5757
### Include Tool Name
5858

5959
Convert a JUnit XML report and include a tool name in the CTRF report:
6060

6161
```sh
62-
npx junit-to-ctrf /path/to/junit.xml -t ExampleTool
62+
npx junit-to-ctrf path/to/junit.xml -t ExampleTool
6363
```
6464

6565
### Include Environment Properties
6666

6767
Convert a JUnit XML report and include environment properties in the CTRF report:
6868

6969
```sh
70-
npx junit-to-ctrf /path/to/junit.xml -e appName=MyApp buildName=MyBuild
70+
npx junit-to-ctrf path/to/junit.xml -e appName=MyApp buildName=MyBuild
7171
```
7272

7373
See [CTRF schema](https://www.ctrf.io/docs/schema/environment) for possible environment properties
@@ -77,7 +77,7 @@ See [CTRF schema](https://www.ctrf.io/docs/schema/environment) for possible envi
7777
Combine all options in a single command:
7878

7979
```sh
80-
npx junit-to-ctrf /path/to/junit.xml -o /path/to/output/ctrf-report.json -t ExampleTool -e appName=MyApp buildName=MyBuild
80+
npx junit-to-ctrf path/to/junit.xml -o path/to/output/ctrf-report.json -t ExampleTool -e appName=MyApp buildName=MyBuild
8181
```
8282

8383
## What is CTRF?

0 commit comments

Comments
 (0)