vfox 2026.5.11

Interface to vfox plugins
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
--- Returns environment variables to set for Redis
--- @param ctx table Context object with path field
--- @return table Array of environment variable key-value pairs
function PLUGIN:EnvKeys(ctx)
    local mainPath = ctx.path

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