Skip to content

Commit

Permalink
doc: make doc better
Browse files Browse the repository at this point in the history
  • Loading branch information
WGrape committed Feb 28, 2024
1 parent cb6c545 commit e9d4ba2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,18 @@ posture是一个轻量可扩展的开发姿势监督与矫正工具,让您快

# <span id="2">二、快速安装</span>

您可以先通过以下命令完成下载安装操作,如果出现```install successfully```提示,则说明安装成功。
您可以先通过以下命令完成下载安装操作,如果出现```install successfully```提示,则说明安装成功。这时使用```posture``````posture help```命令都可以查看使用帮助。

```bash
git clone https://github.com/WGrape/posture.git && cd posture && bash ./install.sh && posture
git clone https://github.com/WGrape/posture.git && cd posture && bash ./install.sh
```

<details>
<summary>查看使用示例</summary>
<img src="https://user-images.githubusercontent.com/35942268/190054375-4280aead-411a-404c-b068-c71da4241528.png">
### 安装成功
<img width="500" alt="image" src="https://github.com/WGrape/posture/assets/35942268/0827c1a8-ec41-4275-b324-517c6f450e86">
### 查看命令帮助
<img width="500" alt="image" src="https://github.com/WGrape/posture/assets/35942268/101cbd76-24f1-45f3-b92d-0f209458d902">
</details>

在安装成功后,会在您的```~/.bash_profile```文件中写入如下内容,自动创建```$POSTUREPATH```变量并添加到```$PATH```变量中,以确保您可以开始使用posture工具。
Expand Down

0 comments on commit e9d4ba2

Please sign in to comment.