Skip to content

Commit 542d98d

Browse files
authored
chore: add aliases to generate command options. (#3689)
Adding alias to repository-path and api-definitions-path to be compatible with Librarian [options](https://github.com/googleapis/librarian/blob/d3f78d51103c523da60251e790c05a681331192a/internal/command/flags.go#L40) [click options](https://click.palletsprojects.com/en/stable/options/) allows alias directly, so this change is trivial and does not affect any existing usage cases.
1 parent 5192426 commit 542d98d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hermetic_build/library_generation/cli/entry_point.py

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ def main(ctx):
5050
)
5151
@click.option(
5252
"--repository-path",
53+
"--output",
5354
type=str,
5455
default=".",
5556
show_default=True,
@@ -62,6 +63,7 @@ def main(ctx):
6263
)
6364
@click.option(
6465
"--api-definitions-path",
66+
"--api-root",
6567
type=str,
6668
default=".",
6769
show_default=True,

0 commit comments

Comments
 (0)