Skip to content
Beskid The Beskid Book

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

16.1 The corelib command

Materialize the embedded corelib template when you need to read or patch the standard library locally.

The corelib command

beskid corelib copies the embedded corelib project template that ships inside the CLI build. You use it when you need a tree on disk—contributing to stdlib, debugging injection, or pointing BESKID_CORELIB_SOURCE at something you actually control.

  • Default output: corelib/beskid_corelib (override with --output).
  • If the destination is already the bundled template location, the command reports the path and exits—no redundant copy performance theatre.
  • Canonical sources in the superrepo live under compiler/corelib/beskid_corelib/; the pckg package id is corelib, not whatever folder name your trauma assigned in 2019.
Terminal window
beskid corelib --output ./vendor/beskid_corelib

Corelib hub