@MigrateCommand.option('<STR_LIT>', '<STR_LIT>', dest='<STR_LIT>', default=None,<EOL>help=("<STR_LIT>"<EOL>"<STR_LIT>"))<EOL>@MigrateCommand.option('<STR_LIT>', dest='<STR_LIT>', action='<STR_LIT:store_true>',<EOL>default=False,<EOL>help=("<STR_LIT>"<EOL>"<STR_LIT>"))<EOL>@catch_errors<EOL>def init(directory=None, multidb=False):
if directory is None:<EOL><INDENT>directory = current_app.extensions['<STR_LIT>'].directory<EOL><DEDENT>config = Config()<EOL>config.set_main_option('<STR_LIT>', directory)<EOL>config.config_file_name = os.path.join(directory, '<STR_LIT>')<EOL>config = current_app.extensions['<STR_LIT>'].migrate.call_configure_callbacks(config)<EOL>if multidb:<EOL><INDENT>command.init(config, directory, '<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>command.init(config, directory, '<STR_LIT>')<EOL><DEDENT>
Creates a new migration repository