feat: 启动参数新增 --port 配置监听端口

This commit is contained in:
涵曦 2024-07-04 10:35:47 +00:00
parent aef51fb65d
commit 090e8c3f4c

View File

@ -19,10 +19,15 @@ LOGO = r"""
def main():
parser = argparse.ArgumentParser()
parser.add_argument(
"--port",
dest="port",
help="监听端口",
)
parser.add_argument(
"--hardware",
dest="hardware",
help="小爱 hardware",
help="小爱音箱型号",
)
parser.add_argument(
"--account",