mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-09-18 23:55:53 +03:00
feat(form-info): add -Expand parameter for collapsed page drill-down
Pages are collapsed by default showing "(N items)". The new -Expand parameter allows expanding by name, title, or * for all. A hint line is shown when collapsed sections exist. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
9cffa81bcc
commit
1479f944f5
@@ -23,6 +23,7 @@ allowed-tools:
|
||||
| Параметр | Обязательный | По умолчанию | Описание |
|
||||
|-----------|:------------:|--------------|---------------------------------------------|
|
||||
| FormPath | да | — | Путь к файлу Form.xml |
|
||||
| Expand | нет | — | Раскрыть свёрнутую секцию по имени, `*` — все |
|
||||
| Limit | нет | `150` | Макс. строк вывода (защита от переполнения) |
|
||||
| Offset | нет | `0` | Пропустить N строк (для пагинации) |
|
||||
|
||||
@@ -32,6 +33,16 @@ allowed-tools:
|
||||
powershell.exe -NoProfile -File .claude/skills/form-info/scripts/form-info.ps1 -FormPath "<путь к Form.xml>"
|
||||
```
|
||||
|
||||
Раскрыть содержимое страницы:
|
||||
```powershell
|
||||
powershell.exe -NoProfile -File .claude/skills/form-info/scripts/form-info.ps1 -FormPath "<путь>" -Expand "Основное"
|
||||
```
|
||||
|
||||
Раскрыть все свёрнутые секции:
|
||||
```powershell
|
||||
powershell.exe -NoProfile -File .claude/skills/form-info/scripts/form-info.ps1 -FormPath "<путь>" -Expand "*"
|
||||
```
|
||||
|
||||
С пагинацией:
|
||||
```powershell
|
||||
powershell.exe -NoProfile -File .claude/skills/form-info/scripts/form-info.ps1 -FormPath "<путь>" -Offset 150
|
||||
@@ -112,7 +123,7 @@ Elements:
|
||||
| `[Button]` | Button |
|
||||
| `[CmdBar]` | CommandBar |
|
||||
| `[Pages]` | Pages |
|
||||
| `[Page]` | Page (показывает кол-во элементов вместо раскрытия) |
|
||||
| `[Page]` | Page (свёрнут — показывает кол-во элементов; раскрывается через `-Expand`) |
|
||||
| `[Popup]` | Popup |
|
||||
| `[BtnGroup]` | ButtonGroup |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user