Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import click
- from flask.cli import (
- with_appcontext
- )
- @click.command("create_super_admin")
- @click.argument("user_name")
- @click.argument("password")
- @with_appcontext
- def create_super_admin(user_name, password):
- print("ok ->", user_name, password)
Add Comment
Please, Sign In to add comment