Skip to content

Commit

Permalink
docs: add how to pass array options to the CLI (#46505)
Browse files Browse the repository at this point in the history
With this change we add an example on how to use array options in the CLI.

Closes #33851

PR Close #46505
  • Loading branch information
alan-agius4 authored and dylhunn committed Jun 27, 2022
1 parent d571761 commit 21cce3a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions aio/content/cli/index.md
Expand Up @@ -113,6 +113,10 @@ Command syntax is shown as follows:
Boolean options have two forms: `--this-option` sets the flag to `true`, `--no-this-option` sets it to `false`.
If neither option is supplied, the flag remains in its default state, as listed in the reference documentation.

### Array options

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

### Relative paths

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.
Expand Down

0 comments on commit 21cce3a

Please sign in to comment.