Skip to content

Commit

Permalink
repro: document multiline string (#2071)
Browse files Browse the repository at this point in the history
  • Loading branch information
efiop authored Jan 4, 2021
1 parent 87efecf commit fde5309
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions content/docs/command-reference/repro.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ graph (a [DAG](https://en.wikipedia.org/wiki/Directed_acyclic_graph)) implicitly
defined by the stages listed in `dvc.yaml`. The commands defined in these stages
are then be executed in the correct order.

For stages with multiple commands (having a list in the `cmd` field), commands
are run one after the other in the order they are defined. The failure of any
command will halt the remaining stage execution, and raises an error.
For stages with multiple commands (having a list or a multiline string in the
`cmd` field), commands are run one after the other in the order they are
defined. The failure of any command will halt the remaining stage execution, and
raises an error.

> Pipeline stages are defined in a `dvc.yaml` file (either manually or by using
> `dvc run`) while initial data dependencies can be registered with `dvc add`.
Expand Down

0 comments on commit fde5309

Please sign in to comment.