module
Version:
v0.6.0
Opens a new window with list of versions in this module.
Published: May 3, 2026
License: MIT
Opens a new window with license information.
README
¶
tem - tiny go template cli renderer
echo '[{{ time.Now | time.DateTime }}] {{ "USER" | env.Or "anonymous" }}@{{ hostname }}' | tem
Installation
go install
go install -trimpath -ldflags "-s -w" github.com/JFAexe/tem/cmd/tem@latest
Prebuilt binaries
(
TEM_VERSION="0.6.0"
wget "https://github.com/JFAexe/tem/releases/download/v${TEM_VERSION}/tem_${TEM_VERSION}_linux_amd64.tar.gz" -O "tem_${TEM_VERSION}.tar.gz"
tar -xzf "tem_${TEM_VERSION}.tar.gz" -C "$HOME/.local/bin/" "tem"
)
Click to show internal directories.
Click to hide internal directories.