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

info

Display information about a TeaLeaf file. Auto-detects whether the file is text or binary format.

Usage

tealeaf info <file>

Arguments

ArgumentRequiredDescription
<file>YesPath to a .tl or .tlbx file

Description

The info command auto-detects the file format (by checking for the TLBX magic bytes) and displays relevant information.

For Text Files (.tl)

  • Number of top-level keys
  • Key names
  • Number of schema definitions
  • Schema details (name, fields, types)

For Binary Files (.tlbx)

  • Version information
  • File size
  • Header details (offsets, counts)
  • String table statistics (count, total size)
  • Schema table details (names, field counts)
  • Section index (key names, sizes, compression ratios)

Examples

# Inspect a text file
tealeaf info config.tl

# Inspect a binary file
tealeaf info data.tlbx

See Also