reficul31 / jump

A small CLI to move about quickly in the filesystem.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jump

A small CLI to move about quickly in the filesystem.

Demo

Demo

About

Inspired from Teleport.
If you are like me, you must hate the golang project structure. I had to write a lot of cd commands just to change project directories.
Gone are those days! This is a small tool that can help navigate the filesystem faster.

Installation

Before you go about installing the tool make sure that

  • You have golang installed
  • You have set the PATH variable

Jump is build with golang and can be easily installed with the following command

go get -u github.com/reficul31/jump

To use the jump you will also require to add the following line to your shell script.

source $GOPATH/src/github.com/reficul31/jump/jump.sh

Usage

The CLI can be used in the place of cd as well. This means that commands such as given below will work just the same as a normal cd command.

jp /home/user/path/to/dir

Add a checkpoint

To add a checkpoint, you can use the following command.

jp add

Remove a checkpoint

To remove a checkpoint, you can use the following command.

jp rm

To remove all the checkpoints set the --all flag to true.

jp --all rm

Show Checkpoints

To see all the active checkpoints, you can use the following command.

jp show

Contributing

Pull Requests and Feature Requests are welcome.

Status

Some work still left to be done. Any help would be deeply appreciated.

  • Add tests
  • Travis configuration
  • Add color to console writes

About

A small CLI to move about quickly in the filesystem.

License:MIT License


Languages

Language:Go 97.0%Language:Shell 3.0%