Shell-dependent system utilities extracted from Apero.

Why Trebejo?

Apero was split into two packages:

PackageContents
apero (≥ 3.0.0)Pure stdlib wrappers — Env, Conf, Retry, Crypto, Cache, File trees/paths, OS type/hostname, Proc which/command_exists?
trebejoShell-dependent operations — Docker, Git, SSH, K8s, Compress, Network, OS info (arch, distro, kernel, cpu, memory), Proc listing/signalling, File watch

Modules

ModuleDescription
Trebejo.DockerDocker container management
Trebejo.GitGit repository operations
Trebejo.SSHSSH connections and remote commands
Trebejo.K8sKubernetes resource management
Trebejo.CompressArchive creation and extraction
Trebejo.NetworkNetwork interface and connectivity
Trebejo.OSOS metadata: arch, distro, kernel, CPU, memory, info, root, WSL/container detection
Trebejo.ProcProcess listing, signalling, lsof, fuser, log access
Trebejo.FileFile system watching
Trebejo.File.IODisk usage reporting

Pure functions are delegated to Apero.* — this package depends on apero.

Installation

Add trebejo to your mix.exs:

def deps do
  [
    {:trebejo, "~> 1.0.0"}
  ]
end

Documentation

Full docs at https://hexdocs.pm/trebejo.

Generated with ExDoc.