Skip to content

Commit 0d874bd

Browse files
Fix tree example in use case document (#3894)
* fix tree * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 400a3b7 commit 0d874bd

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

docs/examples.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,22 @@ platforms:
279279
Molecule is generally used to test roles in isolation. However, it can
280280
also test roles from a monolith repo.
281281

282-
> \$ tree monolith-repo -L 3 \--prune monolith-repo ├── library │   └──
283-
> foo.py ├── plugins │   └── filters │   └── foo.py └── roles ├── bar
284-
> │   └── README.md ├── baz │   └── README.md └── foo └── README.md
282+
```bash
283+
$ tree monolith-repo -L 3 --prune
284+
monolith-repo
285+
├── library
286+
│ └── foo.py
287+
├── plugins
288+
│ └── filters
289+
│ └── foo.py
290+
└── roles
291+
├── bar
292+
│ └── README.md
293+
├── baz
294+
│ └── README.md
295+
└── foo
296+
└── README.md
297+
```
285298

286299
The role initialized with Molecule (baz in this case) would simply
287300
reference the dependent roles via it's `converge.yml` or meta

0 commit comments

Comments
 (0)