Skip to content

DavidGamba/dgtools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

David Gamba’s Toolbox badge

toolbox
A monorepo filled with goodies.

Untagged tools/libs will not be maintained for public consumption (at least initially).

Index of Libraries

Go Reference buildutils - Provides functions used when writing build automation.

Go Reference fsmodtime - Provides functions to determine if you want to build targets from sources based on modification time.

Go Reference run - Provides a wrapper around os/exec with method chaining for modifying behaviour.

Go Reference password-cache - Cache credentials using the Linux keyring in Go.

Go Reference clitable - Pretty print Data as tables on the command line.

Go Reference cueutils - Provides helpers to work with CUE files.

Index of Tools

bt - A no commitments Terraform wrapper that provides build caching functionality. It also makes working with workspaces a breeze.

cli-bookmarks - yet another tool to bookmark filesystem locations and access them in a fast and easy way.

diffdir - Wrapper around git diff --no-index to diff 2 directories.

ffind - Fast Regex Find, faster common Find searches using the power of Golang’s Regex engine.

grepp - An improved version of the most common combinations of grep, find and sed/perl, in a single tool.

joinlines - Simple utility to join lines from a cli command output.

kdecode - Decodes K8s secret’s data block.

mermaid - Mermaid diagrams CLI.

password-cache - Cache credentials using the Linux keyring in Go.

tz - Show time zones based on user defined groups.

yaml-parse - Parse and extract data from YAML files.

reverseproxy - Creates a very simple reverse proxy that allows to proxy multiple local services at different base paths dynamically with CLI args.

csvtable - Pretty print csv input as a table.

eenv - Print your environment like env but with the keys, passwords and tokens hidden.

Homebrew

Some tools are published with homebrew:

brew tap DavidGamba/dgtools https://github.com/DavidGamba/dgtools
brew search DavidGamba/dgtools
brew install DavidGamba/dgtools/<tool>

Upgrade with:

brew update
brew upgrade <tool>

Bash completions are installed by default.

For zsh completions, an additional step is required, add the following to your .zshrc per tool:

export ZSHELL="true"
source "$(brew --prefix)/share/zsh/site-functions/dgtools.<tool>.zsh"