feat: add sing-box configuration manager script and jq helpers

This commit is contained in:
Andrey Petelin
2025-08-31 11:09:55 +03:00
parent 68da048e76
commit 5933065f2a
2 changed files with 1221 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
def extend_key_value(current_value; new_value):
if (current_value | type) == "array" then
if (new_value | type) == "array" then
current_value + new_value
else
current_value + [new_value]
end
else
if (new_value | type) == "array" then
[current_value] + new_value
else
[current_value, new_value]
end
end;
File diff suppressed because it is too large Load Diff