wcl eval
alias: get
Resolve a dotted path from the document root and print the value.
| Argument | Required | Description | Remarks |
|---|---|---|---|
| file | required | Path to a WCL source file. | — |
| path | required | Dotted path to resolve from the document root. | — |
| Switch | Value | Description | Remarks |
|---|---|---|---|
| --json | — | Emit the value as JSON instead of the WCL display form. | — |
| --profile | — | Write an evaluation profile as JSON to stderr. | — |
console
wcl eval site.wcl service.web.port