Skip to content

Commit 7e5b26b

Browse files
authored
chore(internal/config): update config docs with current commands (#2960)
1 parent 502b063 commit 7e5b26b

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

internal/config/config.go

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ type Config struct {
9191
// When this is not specified, the googleapis repository is cloned
9292
// automatically.
9393
//
94-
// APISource is used by generate, update-apis and configure
95-
// commands.
94+
// APISource is used by generate and update-image commands.
9695
//
9796
// APISource is specified with the -api-source flag.
9897
APISource string
@@ -148,8 +147,8 @@ type Config struct {
148147
// GitHubToken is the access token to use for all operations involving
149148
// GitHub.
150149
//
151-
// GitHubToken is used by to configure, update-apis and update-image-tag commands,
152-
// when Push is true.
150+
// GitHubToken is used by the generate, update-image, and release
151+
// init commands when Push is true.
153152
//
154153
// GitHubToken is not specified by a flag, as flags are logged and the
155154
// access token is sensitive information. Instead, it is fetched from the
@@ -207,7 +206,7 @@ type Config struct {
207206

208207
// Push determines whether to push changes to GitHub. It is used in
209208
// all commands that create commits in a language repository:
210-
// configure and update-apis.
209+
// generate, release init, update-image.
211210
// These commands all create pull requests if they
212211
//
213212
// By default (when Push isn't explicitly specified), commits are created in
@@ -228,7 +227,7 @@ type Config struct {
228227
// Librarian-created changes with other changes.
229228
//
230229
// Repo is used by all commands which operate on a language repository:
231-
// configure, generate, update-apis.
230+
// generate, release init, update-image.
232231
//
233232
// When a local directory is specified for the generate command, the repo is checked to
234233
// determine whether the specified API path is configured as a library. See the generate

0 commit comments

Comments
 (0)