Reference
wf config
Read and change `webfluent.app.json`: every setting, what the project sets, and an edit that keeps the file's shape
wf config <schema|get|set|unset>
Reads and changes webfluent.app.json, and lists every setting it can hold.
$ wf config schema
$ wf config schema --json
$ wf config get build.base_path
$ wf config set build.ssg true
$ wf config set meta.lang ar
$ wf config unset build.ssg
set checks the value against the setting's type before it writes anything. set and unset keep the rest of the file as it was written. Under a map, the rest of the path is one key: build.budget.app.js sets the app.js entry of build.budget.
See also: Configuration.
wf config schema
Every setting: its type, its default and what it does
wf config schema [options]
| Option | Type | Meaning |
|---|---|---|
--json | flag | As JSON, for a tool |
wf config get
What the project sets at PATH, or the default
wf config get PATH [options]
| Option | Type | Meaning |
|---|---|---|
PATH | text | A dotted path: |
--dir -d DIR | path | The project's folder (default |
wf config set
Set PATH to VALUE — JSON, or a word as a string — keeping the file's shape
wf config set PATH VALUE [options]
| Option | Type | Meaning |
|---|---|---|
PATH | text | A dotted path: |
VALUE | text | The value: JSON ( |
--dir -d DIR | path | The project's folder (default |
wf config unset
Remove PATH, so its default applies
wf config unset PATH [options]
| Option | Type | Meaning |
|---|---|---|
PATH | text | A dotted path: |
--dir -d DIR | path | The project's folder (default |