pyboxbuilder.cli.find_examples

pyboxbuilder.cli.find_examples(root: Path) → Iterator[Path][source]

Every insert script under root, in a stable order.

A directory’s script is the one named after it — boxes/earth/earth.py — which is the convention every example already follows, and it keeps helper modules beside an insert from being mistaken for one.

Parameters:
root: Path

The directory to search, usually boxes/.

Yields:

Each insert script.