feat: 启动参数新增 --port 配置监听端口
This commit is contained in:
parent
aef51fb65d
commit
090e8c3f4c
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user