From 95a3dc8ce1e7d6f89e09abfed03b41f30ae19593 Mon Sep 17 00:00:00 2001 From: persist-1 Date: Mon, 8 Sep 2025 00:37:57 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=88=A0=E9=99=A4=E4=B8=8D=E5=BF=85?= =?UTF-8?q?=E8=A6=81=E7=9A=84=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd_arg/arg.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmd_arg/arg.py b/cmd_arg/arg.py index a898282..6cb2dfc 100644 --- a/cmd_arg/arg.py +++ b/cmd_arg/arg.py @@ -38,10 +38,6 @@ async def parse_cmd(): parser.add_argument('--save_data_option', type=str, help='Where to save the data / 数据保存方式 (csv=CSV文件 | db=MySQL数据库 | json=JSON文件 | sqlite=SQLite数据库)', choices=['csv', 'db', 'json', 'sqlite'], default=config.SAVE_DATA_OPTION) -# persist-1 -# 原因:新增 --init-db 命令行参数,用于数据库初始化。 -# 副作用:无 -# 回滚策略:还原此文件。 parser.add_argument('--init-db', type=str, help='Initialize database schema / 初始化数据库表结构 (sqlite | mysql)', choices=['sqlite', 'mysql'], default=None)