make user command

This commit is contained in:
Kenneth Kehl
2024-07-23 10:53:57 -07:00
parent 0a1073836a
commit dab47e7cf6
2 changed files with 9 additions and 5 deletions

View File

@@ -639,6 +639,14 @@ def populate_annual_billing_with_the_previous_years_allowance(year):
)
@notify_command(name="dump-user-info")
@click.argument("user_email_address")
def dump_user_info(user_email_address):
user = get_user_by_email(user_email_address)
content = user.serialize()
click.echo(content)
@notify_command(name="populate-annual-billing-with-defaults")
@click.option(
"-y",