Skip to content

JFAexe/tem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.4.1"
  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"
)

About

tiny go template cli renderer

Topics

Resources

License

Stars

Watchers

Forks

Contributors