add pack.assemble(...), app.config_packs(...)

This commit is contained in:
MihailRis
2025-01-03 23:51:36 +03:00
parent 3187243a7d
commit bd9018dafe
12 changed files with 93 additions and 10 deletions
+7 -1
View File
@@ -96,8 +96,14 @@ Returns information about the pack (not necessarily installed).
- `~` - weak
for example `!teal`
To obtain information about multiple packs, use table of ids to avoid re-scanning.
To obtain information about multiple packs, use table of ids to avoid re-scanning:one
```lua
pack.get_info(packids: table) -> {id={...}, id2={...}, ...}
```
```lua
pack.assemble(packis: table) -> table
```
Checks the configuration for correctness and adds dependencies, returning the complete configuration.