Skip to content

xafardero/hlz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hlz - My set of development tools for hlz

📜 Table of contents


🚀 Usage

Clone you repositories easily with:

hlz clone core

Generate random cups from your cli:

hlz cups

Enter to the aws instances:

hlz ssh core

🏗️ Installation

From binary (Linux)

sudo wget -O /usr/local/bin/hlz https://github.com/xafardero/hlz/releases/latest/download/hlz
sudo chmod +x /usr/local/bin/hlz

From binary (Mac)

sudo wget -O /usr/local/bin/hlz https://github.com/xafardero/hlz/releases/latest/download/hlz_darwin
sudo chmod +x /usr/local/bin/hlz

From source code

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

🛠️ Configuration

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

Fast "change directory" to your projects

Add this function to your zsh config (~/.zshrc) to be able to do h core

function h {
    dir="$(hlz cd $1)" && cd $dir
}