Skip to content

Commit 3b650fd

Browse files
bjohansebasljharb
authored andcommitted
docs: add usage instructions for wiby close-pr command
1 parent 3ce7fcc commit 3b650fd

File tree

1 file changed

+26
-4
lines changed

1 file changed

+26
-4
lines changed

USAGE.md

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,25 @@ Options:
2222
```
2323

2424

25+
## `wiby close-pr`
26+
27+
28+
29+
Use this command to close the PRs raised against your dependents. wiby will go
30+
off to the dependent’s repo and close the PRs raised that trigger jobs
31+
`package.json` pointing to your latest version (with the new changes) triggering
32+
the dependent’s CI to run.
33+
34+
```
35+
Options:
36+
37+
--dependent URL of a dependent [string]
38+
--config Path to the configuration file. By default it will try to load
39+
the configuration from the first file it finds in the current
40+
working directory: `.wiby.json`, `.wiby.js` [string]
41+
```
42+
43+
2544
## `wiby github-workflow install`
2645

2746

@@ -73,10 +92,13 @@ changes) triggering the dependent’s CI to run.
7392
```
7493
Options:
7594
76-
--dependent URL of a dependent [string]
77-
--config Path to the configuration file. By default it will try to load
78-
the configuration from the first file it finds in the current
79-
working directory: `.wiby.json`, `.wiby.js` [string]
95+
--dependent URL of a dependent [string]
96+
--pull-request, --pr Raise a draft PR in addition to creating a branch
97+
[boolean]
98+
--config Path to the configuration file. By default it will try
99+
to load the configuration from the first file it finds
100+
in the current working directory: `.wiby.json`,
101+
`.wiby.js` [string]
80102
```
81103

82104

0 commit comments

Comments
 (0)