diff --git a/zddc/cmd/zddc-server/main.go b/zddc/cmd/zddc-server/main.go index 75ee696..7b2be11 100644 --- a/zddc/cmd/zddc-server/main.go +++ b/zddc/cmd/zddc-server/main.go @@ -50,6 +50,16 @@ func main() { case "--print-rego=federal": fmt.Print(policy.FederalRego) return + case "show-defaults", "--show-defaults": + // Dump the embedded baseline .zddc to stdout. Pipe into a + // real file (e.g. $ZDDC_ROOT/.zddc) to start from the + // shipped defaults and edit; the on-disk copy then + // participates in the cascade alongside the embedded + // layer (both contribute; child wins). To ignore the + // embedded layer entirely after exporting, set + // `inherit: false` at the top of the exported file. + _, _ = os.Stdout.Write(zddc.EmbeddedDefaultsBytes()) + return } } diff --git a/zddc/internal/handler/tables.html b/zddc/internal/handler/tables.html index 5bc53c2..f70194f 100644 --- a/zddc/internal/handler/tables.html +++ b/zddc/internal/handler/tables.html @@ -1300,7 +1300,7 @@ body.help-open .app-header {