Added some more commands and mades some quality of life improvements
All checks were successful
Build / build (push) Successful in 4m27s

This commit is contained in:
Leon Mika 2026-01-25 11:00:40 +11:00
parent 3a23118036
commit 3cb5795ca5
17 changed files with 432 additions and 75 deletions

15
appctx.go Normal file
View file

@ -0,0 +1,15 @@
package main
import (
"context"
"ucl.lmika.dev/ucl"
)
type uclInstKeyType struct{}
var uclInstKey = uclInstKeyType{}
func uclInstFromContext(ctx context.Context) *ucl.Inst {
return ctx.Value(uclInstKey).(*ucl.Inst)
}