close
Skip to content

gurleensethi/cradle

Repository files navigation

Cradle 🧺

Cradle helps you manage your local projects.

Installation

Install using Go:

go install github.com/gurleensethi/cradle@latest

Shell Configuration

Add the helper function to your shell's configuration file:

crdl() {
    out=$(CRADLE_CMDOUT=1 cradle "$@" 3>&1 1>&2 2>&3)
    if [[ $out == eval* ]]; then
        eval "${out#eval}"
    else
        printf '%s' "$out"
    fi
}

Note: This configuration is required to enable directory switching functionality. Without it, you won't be able to change directories using Cradle.

For Bash Users

To configure Cradle for Bash, append the helper script to your .bashrc:

curl -s https://raw.githubusercontent.com/gurleensethi/cradle/main/crdl.sh >> ~/.bashrc

For Zsh Users

To configure Cradle for Zsh, append the helper script to your .zshrc:

curl -s https://raw.githubusercontent.com/gurleensethi/cradle/main/crdl.sh >> ~/.zshrc

After adding the script, remember to restart your terminal or source the configuration file to apply the changes.

Usage

Use with TUI.

Image

List projects

Image

About

Manage local projects 🧺

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors