Break enterprise policy out into openchamber-policy.json

- New --enterprise <policy.json> flag installs a policy file from the
  cloned repo (openchamber-policy.json) instead of the built-in defaults
- --relay-url overrides the source file's relayUrl key; matching relay
  installs the file content verbatim
- Invalid or missing policy source fails closed with a clear error
- Arg parsing extracted into a testable parse_args function
This commit is contained in:
c4ch3c4d3 committed 2026-10-06 10:49:54 -06:00
1 parent 778341b7a5
commit c3954d1533
2 files changed
+78 -22

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
{
"enterpriseMode": true,
"organization": "Zuccaro",
"relayUrl": "wss://code.zuccaro.me/ws"
}