vfox 2026.5.9

Interface to vfox plugins
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- Returns environment keys and paths for the installed tool
--- @param ctx table Context provided by vfox
--- @return table Environment keys
function PLUGIN:EnvKeys(ctx)
    local mainSdk = ctx.sdkInfo["bpkg"]
    local path = mainSdk.path

    return {
        {
            key = "PATH",
            value = path .. "/bin",
        },
    }
end