You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: clarify doc and comment with commit and push flag (#2507)
Update doc and comment around --commit and --push, these flags work for
both `generate` and `release` commands. Actual code is working as
expected.
Fixes#2495
Copy file name to clipboardExpand all lines: doc/cli-commands.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,8 @@ librarian generate [flags]
20
20
|`-library`| string | No (Yes for onboarding) | The ID of a single library to update or onboard. If updating this should match the library ID in the state.yaml file. |
21
21
|`-repo`| string | No | Code repository for the generated code. Can be a remote URL (e.g., `https://github.com/{owner}/{repo}`) or a local path. If not specified, will try to detect the current working directory as a language repository. |
22
22
|`-output`| string | No | Working directory root. If not specified, a working directory will be created in `/tmp`. |
23
-
|`-push`| bool | No | Whether to push the generated code and create a pull request. |
23
+
|`-commit`| bool | No | Whether to commit the generated code change locally. |
24
+
|`-push`| bool | No | Whether to push the change and create a pull request in GitHub. |
0 commit comments