import click from flask.cli import with_appcontext. @click.command('task1', help="Hello World.") @with_appcontext def task1_run(): print("hello world!!!").
確定! 回上一頁