AGPL-3.0-or-later · forever.

the standard library

nika:glob

Glob match · returns paths sorted lexicographically. One of 28 builtins in the closed nika: namespace: workspace files: read, write, search (permits.fs-gated).

  • filefamily5 tools
  • 2argsdeclared contract
  • 1requiredcheck teaches a miss
  • 1skeletonsship this tool

the contract

2 args · 1 required

A missing required arg is a nika check finding before anything runs; the vocabulary below comes from the binary itself (nika catalog --tools --json), not from prose.

pattern*
stringe.g. ./src/**/*.rs
exclude
a glob pattern or a list of them to drop from the result

in a real file

from the fanout skeleton
fanout.nika.yaml
  discover:    invoke:                         # SLOT: glob / fetch sitemap / exec + jq split      tool: "nika:glob"      args: { pattern: "${{ const.collection_source }}/*.md" }

a verbatim excerpt, real line numbers from fanout.nika.yaml, conformance-gated upstream on every spec push. open the full skeleton →

the file family

5 tools

workspace files: read, write, search (permits.fs-gated).

Machines read the same vocabulary at /tools/catalog.json; the contract lives in spec 06 · stdlib. Install and ask the binary itself: nika catalog --tools. Read the spec →