Skip to content

Commit bf020af

Browse files
committed
docs: add new key/value option syntax in CLI
1 parent dbdd787 commit bf020af

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

adev/src/content/tools/cli/overview.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ If neither option is supplied, the flag remains in its default state, as listed
4141

4242
Array options can be provided in two forms: `--option value1 value2` or `--option value1 --option value2`.
4343

44+
### Key/value options
45+
46+
Some options like `--define` expect an array of `key=value` pairs as their values.
47+
Just like array options, key/value options can be provided in two forms:
48+
`--define 'KEY_1="value1"' KEY_2=true` or `--define 'KEY_1="value1"' --define KEY_2=true`.
49+
4450
### Relative paths
4551

4652
Options that specify files can be given as absolute paths, or as paths relative to the current working directory, which is generally either the workspace or project root.

0 commit comments

Comments
 (0)