clash_starlark 0.7.2

Starlark policy evaluator for Clash — compiles .star files to JSON policy
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
dotnet_full = sandbox(
    name = "dotnet_full",
    default = ask(),
    fs = {
        subpath("$PWD"): allow(FULL),
        "$HOME": {
            glob(".nuget/**"): allow(),
            glob(".dotnet/**"): allow(),
        },
        glob("$TMPDIR/**"): allow(),
    },
    net = allow(),
    doc = ".NET full: build, test, restore. Full project + NuGet cache access.",
)

dotnet = {tool("Bash"): {("dotnet", "msbuild"): allow(sandbox = dotnet_full)}}