From 15a518c1ac3f69209685f4aab0667477cbf003bb Mon Sep 17 00:00:00 2001 From: ljw <84855512@qq.com> Date: Sat, 9 Nov 2024 20:38:11 +0800 Subject: [PATCH] up readme --- README.md | 13 +++++++++++++ README_EN.md | 14 +++++++++++++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 808a48f..bb004c2 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,8 @@ - 自动获取ID服务器和KEY - 自动获取地址簿 - 游客通过临时分享链接直接远程到设备 +- CLI + - 重置管理员密码 ## 使用前准备 @@ -147,6 +149,17 @@ 2. PC端文档 `/swagger/index.html` ![api_swag](docs/api_swag.png) +### CLI +```bash +# 查看帮助 +./apimain -h +``` + +#### 重置管理员密码 +```bash +./apimain reset-admin-pwd +``` + ## 安装与运行 ### 相关配置 diff --git a/README_EN.md b/README_EN.md index 6656590..f64b1e6 100644 --- a/README_EN.md +++ b/README_EN.md @@ -38,7 +38,8 @@ desktop software that provides self-hosted solutions. - Automatically obtain ID server and KEY - Automatically obtain address book - Visitors are remotely to the device via a temporary sharing link - +- CLI + - Reset admin password ## Prerequisites ### [Rustdesk](https://github.com/rustdesk/rustdesk) @@ -153,6 +154,17 @@ installation are `admin` `admin`, please change the password immediately. 2. PC client docs: `/swagger/index.html` ![api_swag](docs/api_swag.png) +### CLI +```bash +# help +./apimain -h +``` + +#### Reset admin password +```bash +./apimain reset-admin-pwd +``` + ## Installation and Setup ### Configuration