docs: обновление списка команд

1. outbound вместо connection для пользовательских соединений, так как лучше отражает генерируемую сущность
2. добавление сущности server по аналогии с user
This commit is contained in:
2026-06-30 18:24:35 +03:00
parent e98b340393
commit 9da0596f6d
+16 -19
View File
@@ -2,38 +2,35 @@
## Список команд ## Список команд
``` ```
user add <username> [-c <protocol>:<target> [<protocol>:<target> ...]] user add <username> [-o <protocol>:<target> [<protocol>:<target> ...]]
user show (<username> | -a) user show (<username> | -a)
user modify <username> [-a <protocol>:<target> [<protocol>:<target> ...]] user modify <username> [-a <protocol>:<target> [<protocol>:<target> ...]] [-d <protocol>:<target> [<protocol>:<target> ...]]
[-d <protocol>:<target> [<protocol>:<target> ...]]
user delete (<username> | -a) user delete (<username> | -a)
user connection add <username> -p <protocol> -t <target> user outbound add <username> -p <protocol> -t <target> [--<param> <value> ...]
[--<param> <value> ...] user outbound show <username> (-a | -p <protocol> | -t <target>)
user connection show <username> (-a | -p <protocol> | -t <target>) user outbound modify <username> -p <protocol> -t <target> [--<param> <value> ...]
user connection modify <username> -p <protocol> -t <target> user outbound delete <username> (-a | -p <protocol> | -t <target>)
[--<param> <value> ...]
user connection delete <username> (-a | -p <protocol> | -t <target>)
user profile build (<username> | -a) user profile build (<username> | -a)
user profile show (<username> | -a) user profile show (<username> | -a)
user profile qrcode (<username> | -a) user profile qrcode (<username> | -a)
user profile delete (<username> | -a) user profile delete (<username> | -a)
target add <target_name> -r <outbound_tag> [--pretty "<display_name>"] target add <target_name> -r <server_outbound_tag> [--pretty "<display_name>"]
target modify <target_name> [-r <outbound_tag>] [--pretty "<display_name>"] target modify <target_name> [-r <server_outbound_tag>] [--pretty "<display_name>"]
target show (<target_name> | -a) target show (<target_name> | -a)
target delete (<target_name> | -a) target delete (<target_name> | -a)
protocol <protocol_name> protocol <protocol_name>
inbound add -t <tag> -p <protocol> [--<param> <value> ...] server inbound add -t <tag> -p <protocol> [--<param> <value> ...]
inbound modify -t <tag> -p <protocol> [--<param> <value> ...] server inbound modify -t <tag> -p <protocol> [--<param> <value> ...]
inbound show (-a | -t <tag> -p <protocol>) server inbound show (-a | -t <tag> -p <protocol>)
inbound delete (-a | -t <tag> -p <protocol>) server inbound delete (-a | -t <tag> -p <protocol>)
outbound add -t <tag> -p <protocol> [--<param> <value> ...] server outbound add -t <tag> -p <protocol> [--<param> <value> ...]
outbound modify -t <tag> -p <protocol> [--<param> <value> ...] server outbound modify -t <tag> -p <protocol> [--<param> <value> ...]
outbound show (-a | -t <tag> -p <protocol>) server outbound show (-a | -t <tag> -p <protocol>)
outbound delete (-a | -t <tag> -p <protocol>) server outbound delete (-a | -t <tag> -p <protocol>)
``` ```