1.2.3 • Published 4 years ago

pin-cli v1.2.3

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

pin-cli

Pin your most used locations. Quickly teleport to pinned locations. Guarantee to save up to 10 seconds.

How does it works

A pin is just an alias to a specific folder. All the new pins are added to a separate file (.pins). This files is then linked to the .bashrc

Install

$ npm install -g pin-cli

Basic usage

Go to a directory you want to save

  $ cd /path-to-dir
  $ pin add <pin-name>
  $ <pin-name>

Commands

pin add [PIN-NAME]

Pin the current location.

USAGE
  $ pin add [PIN-NAME]

ARGUMENTS
  PIN-NAME  pin name

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  pin name

pin clean

Remove all the pins that point to non existing locations.

USAGE
  $ pin clean

OPTIONS
  -f, --force
  -h, --help       show CLI help

pin delete [PIN-NAME]

Delete a specific pin or the pin to the current folder

USAGE
  $ pin delete [PIN-NAME]

OPTIONS
  -f, --force
  -h, --help   show CLI help

pin help [COMMAND]

display help for pin

USAGE
  $ pin help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

pin list

List all the pins

USAGE
  $ pin list

OPTIONS
  -h, --help  show CLI help

pin nuke

Delete all the pins

USAGE
  $ pin nuke

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  name to print

pin search

Search for a pin

USAGE
  $ pin search