Update command.md to fit latest release (#432)

also adds ENG and fix a rendering issue
This commit is contained in:
チセ
2023-12-24 14:45:01 -05:00
committed by GitHub
parent c7319a4493
commit 1548bc0262
3 changed files with 48 additions and 6 deletions
+23 -3
View File
@@ -21,11 +21,13 @@ The commands are:
version Show current version of Xray
api Call an API in an Xray process
tls TLS tools
uuid Generate new UUIDs
uuid Generate UUIDv4 or UUIDv5
x25519 Generate key pair for x25519 key exchange
wg Generate key pair for wireguard key exchange
Use "xray help <command>" for more information about a command.
```
```
### xray run
Specify one or more configuration files and run.
@@ -99,7 +101,7 @@ xray tls <command> [arguments]
### xray uuid
Generated UUID.
Generate UUID.
Usage:
@@ -107,6 +109,24 @@ Usage:
xray uuid
```
### xray x25519
Generate x25519 key pair。
Usage:
```
xray x25519 [-i "(base64.RawURLEncoding)" --std-encoding]
```
### xray wg
Generate wireguard curve25519 key pair。
Usage:
```
xray wg [-i "(base64.StdEncoding)"]
```
::: tip
When `-config` is not specified, Xray will try to load `config.json` from the following paths: