Go CLI Helper (gch) this is a simple CLI utility that helps make my life easier and will be gradually supplemented with various functionality.
Now gch is not able to do so much, but I use it every day.
gch
Go CLI Helper this is a simple CLI utility that helps
make my life easier and will be gradually supplemented with various functionality.
Now gch is not able to do so much, but I use it every day.
Complete documentation is available at https://github.com/jtprogru/gch
Usage:
gch [command]
Available Commands:
breif Generate a short description for your long URL
cbrf Get currency exchange rates for RUB/USD and RUB/EUR
completion Generate the autocompletion script for the specified shell
dupl Show all duplicates JPG and PNG in folder
help Help about any command
passwd Generate random password
short Make short link from URL
sretask Create template with SRE task
Flags:
--config string config file (default is $HOME/.gch.yaml)
-h, --help help for gch
Use "gch [command] --help" for more information about a command.
For installation you need to load latest version from Release page and download version for you platform.
Another way is usage go install
:
# Get latest version from CLI
VERSION=`curl -sSL https://api.github.com/repos/jtprogru/gch/releases/latest -s | jq .name -r`
go install github.com/jtprogru/gch@$VERSION