Skip to content

Commit fb75149

Browse files
authored
docs(librarian): add some clarifications (#1974)
Fixes: #1973
1 parent 505b74a commit fb75149

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

internal/librarian/generate.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const (
3333
)
3434

3535
var cmdGenerate = &cli.Command{
36-
Short: "generate generates client library code for a single API",
36+
Short: "generate onboards and generates client library code",
3737
UsageLine: "librarian generate [flags]",
3838
Long: `The generate command is the primary tool for all code generation
3939
tasks. It handles both the initial setup of a new library (onboarding) and the
@@ -58,7 +58,8 @@ Example:
5858
5959
You can regenerate a single, existing library by specifying either the library
6060
ID or the API path. If no specific library or API is provided, Librarian will
61-
regenerate all libraries listed in '.librarian/state.yaml'.
61+
regenerate all libraries listed in '.librarian/state.yaml'. If '--library' or
62+
'--api' is specified the whole library will be regenerated.
6263
6364
Examples:
6465
# Regenerate a single library by its ID

0 commit comments

Comments
 (0)