peteretelej / tools

CLI Tools and binaries for easier DevOps / Ops

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tools

A suite CLI tools & utilities

  • paperlog - logs messages to papertrail
  • slack - send slack notifications
  • get_secret - fetch AWS Secrets Manager Secrets
  • dumb_daemon - A useless daemon that just appends to a log file
  • active_conn - Print number of active Mysql connections every x seconds

Basic Usage

Download a binary for your OS from the Releases page

For Example, for the slack cli tool, download an approriate version from Releases then:

# rename binary
mv slack*amd64 slack

# Add execute permissions to binary (for *nix Oss)
chmod +x slack

# just run it
./slack

# getting command usage help
./slack --help
  • See usage for each binary in their respective folders

Building from source

Get the repo

git clone https://github.com/peteretelej/tools.git
cd tools

To build a specific tool, cd into it's directory and build it:

cd slack
go build
  • This builds a binary (slack or slack.exe depending on OS) that you can use directly. It has no dependencies, so you can copy it elsewhere and use as desired (eg /usr/local/bin)

About

CLI Tools and binaries for easier DevOps / Ops

License:MIT License


Languages

Language:Go 97.3%Language:Shell 2.7%