Documentation
¶
Overview ¶
Package examples discovers and executes Selene example scripts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Capture ¶
Capture executes the script using the interpreter and returns everything the program printed. It is a convenience helper for documentation tooling.
func ManifestRoots ¶
ManifestRoots returns the configured example roots (falling back to a default of `examples/` when the manifest omits the section).
Types ¶
type Mode ¶
type Mode string
Mode identifies which execution backend should be used when running an example. It intentionally mirrors the CLI surface so the command and tests stay in sync.
Click to show internal directories.
Click to hide internal directories.