Skip to content

Commit 8139648

Browse files
committed
update readme
1 parent 65a9ac2 commit 8139648

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,14 @@ gh combine owner/repo --update-branch
150150
gh combine owner/repo --no-stats
151151
```
152152

153+
### Change the Type of Stats Output
154+
155+
```bash
156+
gh combine owner/repo --output table # default format
157+
gh combine owner/repo --output json
158+
gh combine owner/repo --output plain
159+
```
160+
153161
### Disable Color
154162

155163
```bash

internal/cmd/root.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ func NewRootCmd() *cobra.Command {
126126
gh combine owner/repo --base-branch main # Use a different base branch for the combined PR
127127
gh combine owner/repo --no-color # Disable color output
128128
gh combine owner/repo --no-stats # Disable stats summary display
129+
gh combine owner/repo --output json # Output stats in JSON format
130+
gh combine owner/repo --output plain # Output stats in plain text format
131+
gh combine owner/repo --output table # Output stats in table format (default)
129132
gh combine owner/repo --combine-branch-name combined-prs # Use a different name for the combined PR branch
130133
gh combine owner/repo --working-branch-suffix -working # Use a different suffix for the working branch
131134
gh combine owner/repo --update-branch # Update the branch of the combined PR`,

0 commit comments

Comments
 (0)