Skip to content

Commit

Permalink
copier-update: improve CLI help
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed May 1, 2024
1 parent 20e0809 commit a3b7060
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions tools/copier_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,27 @@ def _fix_copier_answers():


@click.command()
@click.option("--org", default="OCA")
@click.option("--repos", required=True)
@click.option("--branches", required=True)
@click.option("--git-user-name", default="oca-git-bot")
@click.option("--git-user-email", default="oca-git-bot@odoo-community.org")
@click.option("--org", default="OCA", show_default=True)
@click.option(
"--repos",
required=True,
help="Comma-separated list of repo names, or :all:",
)
@click.option(
"--branches",
required=True,
help="Comma-separated list of branches",
)
@click.option(
"--git-user-name",
default="oca-git-bot",
show_default=True,
)
@click.option(
"--git-user-email",
default="oca-git-bot@odoo-community.org",
show_default=True,
)
@click.option("--skip-ci/--no-skip-ci", default=False)
def main(
org: str,
Expand Down

0 comments on commit a3b7060

Please sign in to comment.