Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into ruff-rm-deprecated-ig…
Browse files Browse the repository at this point in the history
…nore
  • Loading branch information
adamtheturtle committed Sep 26, 2024
2 parents 249964d + 2cd183f commit 2d3bff4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/vws_web_tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,19 +272,19 @@ def get_database_details(
}


@beartype
@click.group(name="vws-web")
@beartype
def vws_web_tools_group() -> None:
"""
Commands for interacting with VWS.
"""


@beartype
@click.command()
@click.option("--license-name", required=True)
@click.option("--email-address", envvar="VWS_EMAIL_ADDRESS", required=True)
@click.option("--password", envvar="VWS_PASSWORD", required=True)
@beartype
def create_vws_license(
license_name: str,
email_address: str,
Expand All @@ -300,12 +300,12 @@ def create_vws_license(
driver.close()


@beartype
@click.command()
@click.option("--license-name", required=True)
@click.option("--database-name", required=True)
@click.option("--email-address", envvar="VWS_EMAIL_ADDRESS", required=True)
@click.option("--password", envvar="VWS_PASSWORD", required=True)
@beartype
def create_vws_database(
database_name: str,
license_name: str,
Expand All @@ -326,12 +326,12 @@ def create_vws_database(
driver.close()


@beartype
@click.command()
@click.option("--database-name", required=True)
@click.option("--email-address", envvar="VWS_EMAIL_ADDRESS", required=True)
@click.option("--password", envvar="VWS_PASSWORD", required=True)
@click.option("--env-var-format", is_flag=True)
@beartype
def show_database_details(
database_name: str,
email_address: str,
Expand Down

0 comments on commit 2d3bff4

Please sign in to comment.