project-list-cli
TypeScript icon, indicating that this package has built-in type declarations

1.3.1 • Public • Published

project-list-cli

A way to easily navigate to projects in the terminal.

Quickly switch to the right project.

project-list-cli demo

Installation:

npm install -g project-list-cli
# Add function in .bashrc OR .zshrc

pp() {
  project-list $1
  if [[ -z $1 || "$1" == "ls" ]]; then
    DIR_TO_GO=$(node -p -e "require('$HOME/.project-list.json').lastProjectPath")
    if [ ! -z "$DIR_TO_GO" ];then
      cd $DIR_TO_GO
    fi
  fi
}

A configuration file will be created automatically in your home directory ~/.project-list.json

Commands:

command description
ls show a list of projects
add add a project to the list, while in the project folder
rm remove project from list, while in the project folder
help show help

Readme

Keywords

none

Package Sidebar

Install

npm i project-list-cli

Weekly Downloads

2

Version

1.3.1

License

MIT

Unpacked Size

48 kB

Total Files

76

Last publish

Collaborators

  • avil13