Use GLS commands as typed references instead of string literals
JoshuaKGoldberg opened this issue · 0 comments
JoshuaKGoldberg commented
Instead of returning strings directly, return objects describing GLS commands and their arguments. At least two big benefits:
- Better typing with and strength against GLS refactors
- Auto-managed contexts using GLS' indentation settings (would have to hook into the GLS parser)