Skip to content

Commit

Permalink
Fix option names (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
FasterSpeeding committed Mar 8, 2024
1 parent 72d6ab4 commit 87161ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,19 +96,19 @@ def _poll(
@click.command()
@click.argument("webhook_url", envvar="DAPI_TRACKER_WEBHOOK_URL")
@click.option(
"tracker_path",
"--tracker-path",
default="./dapi_tracker_updated",
envvar="DAPI_TRACKER_PATH",
type=click.Path(exists=True, path_type=pathlib.Path),
)
@click.option("period", envvar="DAPI_TRACKER_PERIOD", type=int, default=300)
@click.option(
"api_url",
"--api-url",
envvar="DAPI_TRACKER_API_URL",
default="https://api.github.com/repos/discord/discord-api-docs/commits",
)
@click.option(
"params",
"--params",
envvar="DAPI_TRACKER_PARAMS",
type=click.Path(exists=True, path_type=pathlib.Path),
default=None,
Expand Down

0 comments on commit 87161ad

Please sign in to comment.