Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tkzcfc committed Aug 7, 2024
1 parent 0b0b1c8 commit 6d4b64d
Showing 1 changed file with 51 additions and 1 deletion.
52 changes: 51 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,60 @@

## 客户端

### Windows上将客户端注册为服务(必须在有管理员权限的控制台中执行)

```
Usage: np_client.exe install [OPTIONS] --server <SERVER> --username <USERNAME> --password <PASSWORD>
Options:
--backtrace <BACKTRACE>
Print backtracking information [default: false] [possible values: true, false]
-s, --server <SERVER>
Server address
-u, --username <USERNAME>
username
-p, --password <PASSWORD>
password
--log-level <LOG_LEVEL>
Set log level warn [default: info]
--base-log-level <BASE_LOG_LEVEL>
Set log level [default: error]
```
Usage: np_client.exe [OPTIONS] --server <SERVER> --username <USERNAME> --password <PASSWORD>

### Windows上卸载服务

````
Usage: np_client.exe uninstall
````

### Windows上和其他平台以常规模式运行

```
Usage: np_client.exe run [OPTIONS] --server <SERVER> --username <USERNAME> --password <PASSWORD>
Options:
--backtrace <BACKTRACE>
Print backtracking information [default: false] [possible values: true, false]
-s, --server <SERVER>
Server address
-u, --username <USERNAME>
username
-p, --password <PASSWORD>
password
--log-level <LOG_LEVEL>
Set log level warn [default: info]
--base-log-level <BASE_LOG_LEVEL>
Set log level [default: error]
-h, --help
Print help
```





------


Expand Down

0 comments on commit 6d4b64d

Please sign in to comment.