Clone you repositories easily with:
hlz clone core
Generate random cups from your cli:
hlz cups
Enter to the aws instances:
hlz ssh core
sudo wget -O /usr/local/bin/hlz https://github.com/xafardero/hlz/releases/latest/download/hlz
sudo chmod +x /usr/local/bin/hlz
sudo wget -O /usr/local/bin/hlz https://github.com/xafardero/hlz/releases/latest/download/hlz_darwin
sudo chmod +x /usr/local/bin/hlz
wget https://github.com/xafardero/hlz/releases/latest/download/hlz.zip
go build -o hlz cmd/hlz/main.go
sudo mv hlz /usr/local/bin/hlz
Config your hlz command in ~/hlz.yaml
There you can config the path where are going to be cloned your repositories or your github ssh key.
Example:
code_path: /home/xaf/Code/holaluz
github_key_path: /home/xaf/.ssh/id_rsa
Add this function to your zsh config (~/.zshrc) to be able to do h core
function h {
dir="$(hlz cd $1)" && cd $dir
}