Commit graph

10 commits

Author SHA1 Message Date
Claude
c01c6d0ba1 Change wantedScripts to ordered list format
This ensures scripts execute in the order they appear in the config file,
resolving the TODO in the README. The config format has been changed from
a table with script names as keys to an ordered list of script entries.

Changes:
- ctx.lua: Use ipairs() instead of pairs() to iterate in order
- config.lua: Update validation to handle new list structure
- conf.lua: Update example config to use new format
- README.md: Remove TODO and clarify execution order

New config format:
wantedScripts = {
    {name = 'script1', config = {...}},
    {name = 'script2', config = {...}}
}
2025-11-23 17:16:23 -03:00
08f17f812b log when config is found 2025-05-02 18:47:58 -03:00
7f8e86fbd8 lint pass 2023-10-26 22:19:08 -03:00
06b8173ecb only run config validations on init callback 2022-12-07 15:49:45 -03:00
8354478e72 properly print config errors when loading config file 2022-12-07 15:30:22 -03:00
48917659ca fix validation for full tables 2022-12-07 15:12:43 -03:00
fd59059101 add draft for config schema validation 2022-12-07 14:57:07 -03:00
0c0b842370 add result of open 2022-12-07 01:35:57 -03:00
4ff5a915c9 emit log on not found 2022-12-07 01:34:32 -03:00
d16e31c675 add config file loading 2022-12-06 18:24:25 -03:00