Structs§
Functions§
- asset_
paths - embedded_
asset_ paths - Return paths from the binary’s embedded preset bundle only.
- extract_
all - Extract all embedded assets.
- extract_
annotation_ from_ line - Extract a
shine-dest:annotation from a single comment line. - extract_
embedded_ prefix - Extract one prefix from the binary’s embedded preset bundle only.
- extract_
prefix - Extract only assets whose path starts with
prefix/. - parse_
bun_ description - Parse a leading
//comment block from a bun source (.ts/.js/.mts/.mjs) as its description — the JS/TS-comment mirror ofparse_script_description’s#handling for.sh/.ps1. An optional#!shebang is skipped;//lines are collected (a bare//is a blank line); the first non-comment line ends the block; trailing blank lines are trimmed. There are noshine-dest/shine-templateannotations to skip here — those are#/.sh-only. - parse_
dest_ annotation - Parse the
shine-dest:annotation from the first (or second, if shebang) line. - parse_
script_ description - Parse the leading comment block from a shell script, skipping the shebang line
and any
shine-dest:annotation line. - parse_
template_ annotation - Return
trueif the script opts into env-variable substitution. - read_
asset_ bytes - read_
embedded_ asset_ bytes - Read a file from the binary’s embedded preset bundle, ignoring overlays.
- remove_
prefix - Remove embedded-asset files under
prefix/fromtarget_dir. - set_
overlay_ dir