# Trebejo v2.0.0 - Table of Contents

> System command wrappers for Elixir — safe Docker, Git, SSH, kubectl, process, network, compression and OS operations powered by Arrea.Command.

## Pages

- [Trebejo](readme.md)
- [Trebejo](readme-es.md)
- [Changelog](changelog.md)
- [MIT License](license.md)

## Modules

- Core
  - [Trebejo](Trebejo.md): Trebejo — Shell command wrappers and system utilities.
  - [Trebejo.Application](Trebejo.Application.md): OTP application entry point for Trebejo.
  - [Trebejo.Error](Trebejo.Error.md): Typed error wrapper for Trebejo command failures.
  - [Trebejo.Mox](Trebejo.Mox.md): Test-only mocking layer for Trebejo command execution.
  - [Trebejo.Runner](Trebejo.Runner.md): Behaviour for executing external commands.
  - [Trebejo.SafeCommand](Trebejo.SafeCommand.md): Safe wrapper around Arrea.Command.execute/2.
  - [Trebejo.Util](Trebejo.Util.md): Shared utilities for Trebejo modules.

- System &amp; Platform
  - [Trebejo.OS](Trebejo.OS.md): Operating system information utilities (shell-based).
  - [Trebejo.Packages](Trebejo.Packages.md): Package installation and querying — via `Arrea.Command`.
  - [Trebejo.Proc](Trebejo.Proc.md): Process and executable utilities (shell-based operations).

- Containers
  - [Trebejo.Docker](Trebejo.Docker.md): Docker / Podman container lifecycle management.

- Network
  - [Trebejo.Network](Trebejo.Network.md): Network operations: TCP port checks and ICMP ping.
  - [Trebejo.SSH](Trebejo.SSH.md): SSH wrapper for remote command execution and file transfer.

- Orchestration
  - [Trebejo.Kubernetes](Trebejo.Kubernetes.md): Thin wrapper over `kubectl` for common operations.

- Source Control
  - [Trebejo.Git](Trebejo.Git.md): Git utilities for repository management, configuration and synchronisation.
  - [Trebejo.Git.Credentials](Trebejo.Git.Credentials.md): Git credential and SSH key configuration helpers.
  - [Trebejo.Git.Local](Trebejo.Git.Local.md): Local Git operations — clone, commit, pull, push, branch, stash, merge, etc.
  - [Trebejo.Git.Local.Branches](Trebejo.Git.Local.Branches.md): Git branch operations — checkout, current branch, stash, create, delete.

  - [Trebejo.Git.Local.Clone](Trebejo.Git.Local.Clone.md): Git repository cloning, update and existence-check operations.

  - [Trebejo.Git.Local.Config](Trebejo.Git.Local.Config.md): Git configuration operations — reading and writing config values,
user info, system info and hostname.

  - [Trebejo.Git.Local.History](Trebejo.Git.Local.History.md): Git history operations — log, blame, diff, churn, commit info.

  - [Trebejo.Git.Local.Merge](Trebejo.Git.Local.Merge.md): Git merge conflict operations — conflict detection, merge abort, marking
files as resolved, and related merge/revert/squash operations.

  - [Trebejo.Git.Local.Sync](Trebejo.Git.Local.Sync.md): Git repository synchronization operations — checkout, fetch and pull.

  - [Trebejo.Git.Local.Utils](Trebejo.Git.Local.Utils.md): Utility functions for Git operations — command execution, shell quoting,
CLI availability checks, and credential setup.

- File System
  - [Trebejo.File](Trebejo.File.md): File system watching backed by `Apero.File.Watcher` and `Arrea.WorkerSupervisor`.
  - [Trebejo.File.IO](Trebejo.File.IO.md): I/O operations that depend on shell commands.

- Compression
  - [Trebejo.Compress](Trebejo.Compress.md): Universal compression and archive utilities.
  - [Trebejo.Compress.Algorithm](Trebejo.Compress.Algorithm.md): Single-file compression algorithms: zstd, xz, bzip2.

  - [Trebejo.Compress.Format](Trebejo.Compress.Format.md): Detects archive/compression format from file extensions and lists archive contents.

  - [Trebejo.Compress.Gzip](Trebejo.Compress.Gzip.md): GZIP compression and decompression.

  - [Trebejo.Compress.Rar](Trebejo.Compress.Rar.md): RAR archive operations — create and extract.

  - [Trebejo.Compress.SevenZ](Trebejo.Compress.SevenZ.md): 7-Zip archive operations — create and extract.

  - [Trebejo.Compress.Tar](Trebejo.Compress.Tar.md): TAR archive operations — create and extract with optional compression.

  - [Trebejo.Compress.Zip](Trebejo.Compress.Zip.md): ZIP archive operations — create and extract.

- Cloud &amp; Data
  - [Trebejo.GitHub](Trebejo.GitHub.md): GitHub CLI wrapper around `gh`.
  - [Trebejo.Postgres](Trebejo.Postgres.md): PostgreSQL client wrapper around `psql`, `pg_dump`, and `pg_restore`.
  - [Trebejo.Redis](Trebejo.Redis.md): Redis client wrapper around `redis-cli`.

- Resilience
  - [Trebejo.Breaker](Trebejo.Breaker.md): Circuit-breaker integration for Trebejo commands.
  - [Trebejo.Stream](Trebejo.Stream.md): Streaming wrapper around `Port.open/2` for long-running commands.

- Media
  - [Trebejo.Image](Trebejo.Image.md): Shell-based image operations: sixel rendering, ASCII conversion,
and format conversion via external tools.

