Доработка справки CLI

This commit is contained in:
Anton Titovets
2026-03-07 00:16:48 +03:00
parent d825152b24
commit 3f8fce3e93
5 changed files with 49 additions and 3 deletions
+11
View File
@@ -157,6 +157,17 @@
КонецЦикла;
Если ЗначениеЗаполнено(МассивМетодовРегиона) Тогда
СписокМетодовРегионов = Новый СписокЗначений();
СписокМетодовРегионов.ЗагрузитьЗначения(МассивМетодовРегиона);
СписокМетодовРегионов.СортироватьПоЗначению();
СтруктураРегиона = Новый Структура("name,methods", ТекущаяОбласть, СписокМетодовРегионов.ВыгрузитьЗначения());
МассивРегионов.Добавить(СтруктураРегиона);
КонецЕсли;
ТекущийИндекс.Вставить("regions", МассивРегионов);
ТекущийИндекс.Вставить("methods", МассивМетодов);
+6
View File
@@ -28,6 +28,12 @@
"RestoreCounter",
"UpdateCounter"
]
},
{
"name": "Actions management",
"methods": [
"GetActionsList"
]
}
],
"methods": [
+9 -1
View File
@@ -3,7 +3,15 @@
"library": "rcon",
"self_depend": true,
"dependencies": null,
"regions": [],
"regions": [
{
"name": "Commands execution",
"methods": [
"ExecuteCommand",
"FormConnectionParameters"
]
}
],
"methods": [
{
"name": "ExecuteCommand",
+13 -1
View File
@@ -3,7 +3,19 @@
"library": "ssh",
"self_depend": true,
"dependencies": null,
"regions": [],
"regions": [
{
"name": "Common methods",
"methods": [
"ExecuteCommand",
"GetConnectionConfiguration",
"GetProxySettings",
"GetSettingsLoginPassword",
"GetSettingsPrivateKey",
"GetSettingsViaAgent"
]
}
],
"methods": [
{
"name": "GetConnectionConfiguration",
+10 -1
View File
@@ -3,7 +3,16 @@
"library": "tcp",
"self_depend": false,
"dependencies": null,
"regions": [],
"regions": [
{
"name": "Client methods",
"methods": [
"GetProxySettings",
"GetTlsSettings",
"ProcessRequest"
]
}
],
"methods": [
{
"name": "ProcessRequest",