Skip to content

Commit

Permalink
更新readme
Browse files Browse the repository at this point in the history
  • Loading branch information
happyme531 committed Oct 12, 2022
1 parent 66507d8 commit 600283c
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,27 @@
## Rock 5B工具箱

```
使用方法: 5bcli [参数] <命令> [命令参数]
可用的命令:
cpu_serial 获取cpu序列号
lottery 获取体质抽奖结果
input_voltage 读取输入电压
board_rev 获取板子版本
usbpd 获取当前PD供电状态
可用的参数:
-h, --help 获取帮助
-v, --version 显示工具版本
此软件是开源项目, 如果觉得对你有用, 可以点点star: https://github.com/happyme531/a5btool
```

目前你可以从Release页面下载编译好的二进制文件, 或者自己编译.

### 如何编译

首先安装Dart SDK, 然后执行:

如何编译:

```bash
dart pub get
Expand Down

0 comments on commit 600283c

Please sign in to comment.