Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .generator/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,12 @@ def _write_json_file(path: str, updated_content: Dict):
f.write("\n")


def handle_configure():
def handle_configure(
librarian: str = LIBRARIAN_DIR,
source: str = SOURCE_DIR,
repo: str = REPO_DIR,
input: str = INPUT_DIR,
):
Comment thread
parthea marked this conversation as resolved.
# TODO(https://github.com/googleapis/librarian/issues/466): Implement configure command and update docstring.
logger.info("'configure' command executed.")

Expand Down Expand Up @@ -997,7 +1002,14 @@ def handle_release_init(
args = parser.parse_args()

# Pass specific arguments to the handler functions for generate/build
if args.command == "generate":
if args.command == "configure":
args.func(
librarian=args.librarian,
source=args.source,
repo=args.repo,
input=args.input,
)
elif args.command == "generate":
args.func(
librarian=args.librarian,
source=args.source,
Expand Down
Loading