/projx

A simple clone/jump to project CLI tool for GitHub and GitLab

Primary LanguageRust

projx

Install

$ cargo install projx

Add to your shell config

# The function name defaults to "jx"
eval "$(projx init)"

# Or customize the function name
eval "$(projx init my_func_name)"

Usage

$ jx https://github.com/twe4ked/projx
# projx will clone the repo if it doesn't exist, otherwise it will `cd` there
$ cwd
# => $PROJX_DIR/github/twe4ked/projx
$ jx github/twe4ked/dotfiles
# => $PROJX_DIR/github/twe4ked/dotfiles