Skip to main content

Module library

Module library 

Source
Expand description

Where packs come from. Several places are searched and merged; the first place to have a pack’s name wins:

  1. --packs DIR / $TRUMLY_PACKS (source custom)
  2. ./packs next to the model you run from (project)
  3. ~/.trumly/packs, your own and exported packs (yours)
  4. ~/.trumly/community, packs from other people, unverified (community)
  5. the official packs baked into the binary (built-in)

Structs§

Entry
Library

Functions§

builtin
The official packs, from the binary.
export
Export a pack made in the model to the library’s export folder. A name that belongs to an official pack is refused, so a local copy cannot quietly stand in for it.
load
Merge every place packs live. explicit is --packs; $TRUMLY_PACKS stands in when it is None.
public_name
A pack’s name as it may appear in usage data: official names as they are, anything else just “custom”.