pin-cli
Pin your most used folders. Quickly teleport to pinned locations. Guarantee to save up to 10 seconds.
Last updated 6 months ago by forgng .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install pin-cli 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.2.3                                ...           latest (6 months ago)

3 Versions

  • 1.2.3                                ...           6 months ago
  • 1.2.2                                ...           6 months ago
  • 1.2.1                                ...           6 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 3
Last Month 4
Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |