list_entries#

barecat.cli.commands.list_entries(index, paths, long_format=False, recursive=False, jsonl=False, output=print)[source]#

List archive entries. Mimics the ls command.

Parameters:
  • index – Barecat index

  • paths (list[str]) – Paths or glob patterns to list

  • long_format (bool) – Show detailed info (-l)

  • recursive (bool) – List recursively (-R)

  • jsonl (bool) – Output as JSON lines

  • output (Callable[[str], None]) – Function to output each line