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

Formattazione di un file sorgente con format

Il comando format permette di normalizzare il file sorgente IbiScript indicato, garantendo l’uniformità stilistica della sintassi e della spaziatura.

$ ibis format -h

Format and canonicalise an IbiScript source file

Usage: ibis format [OPTIONS] <FILE>

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

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