Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Minifying source files via minify

The minify command reduces the footprint of an IbiScript source file by eliminating computationally redundant elements — such as extraneous white space, line breaks, and optionally, editorial comments — without altering the semantic integrity of the text. This process of syntactic compression is ideal for optimizing data storage and ensuring a canonical, compact representation of the document.

$ ibis minify -h

Minify and canonicalise an IbiScript source file

Usage: ibis minify [OPTIONS] <FILE>

Arguments:
  <FILE>  The .ibi source file to minify

Options:
  -o, --output <OUTPUT>               Write output to a separate file, disabling in-place minification
      --check                         Check compliance without rewriting the file (returns a non-zero exit code if non-compliant)
  -k, --keep-comments                 Preserve comments in the minified output rather than discarding them
  -s, --lines <SEMANTIC_LINE_FILTER>  Extract specific semantic lines or ranges from the inscription (e.g., "2" or "4..5")
  -h, --help                          Print help