Skip to content

Commit 38ad769

Browse files
committed
Update README on CLI and edit some
1 parent 08cf42c commit 38ad769

File tree

1 file changed

+25
-3
lines changed

1 file changed

+25
-3
lines changed

README.md

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@
1212

1313
由爬虫先行对商品的既有评价进行爬取,在此基础上进行自己的评价
1414

15-
## 使用方法
15+
## 用法
1616

1717
### <请先确保python版本为最新版>
1818

19+
### 快速使用
20+
1921
在终端中执行:
2022

2123
```bash
@@ -34,10 +36,30 @@ user:
3436
最后运行 `auto_comment_plus.py` :
3537

3638
```bash
37-
python auto_comment_plus.py
39+
python3 auto_comment_plus.py
40+
```
41+
42+
**注意:** 请根据设备环境换用不同的解释器路径,如 `python`、`py`。
43+
44+
### 命令行参数
45+
46+
本程序支持命令行参数:
47+
48+
```text
49+
usage: auto_comment_plus.py [-h] [--dry-run]
50+
51+
optional arguments:
52+
-h, --help show this help message and exit
53+
--dry-run have a full run without comment submission
3854
```
3955

40-
> 此脚本需要的依赖较多,需自行安装
56+
**`-h`, `--help`:**
57+
58+
显示帮助文本。
59+
60+
**`--dry-run`:**
61+
62+
完整地运行程序,但不实际提交评论。
4163

4264
## 声明
4365

0 commit comments

Comments
 (0)