Giter Site home page Giter Site logo

jumplist's Introduction

JumpList

Summary

Simple dotnet tool to create and manage a folder jump list.

Installation

To install as a dotnet tool, run the following from a command prompt: dotnet tool install -g CliTools.JumpList. Next, add the batch scripts in the Scripts folder to the PATH environment.

Usage

To run the tool, the short name jumplist is used. The saves paths for a given key and will output a path for the specified key. This tool is intended to be used in conjunction with the given a bash script to alias the dotnet command and to use the output path to change into the specified directory.

The command supports the following parameters

Argument Description
--list or -l lists all saved jump list paths
--add or -a adds the current folder path to the jumplist keyed by the name specified after the argument
--rm or -r removes the path from the jump list with the name specified after the argument
none specified outputs the path for the key specified

Example: Adding a path

The following command adds the current path (c:\Users) to the jump list with the name 'users' c:\Users> jumplist -a users

Example: Listing saved paths

The following command lists the paths saved to the jump list

c:\> jumplist -l
 user -> c:\Users

Example: Removing saved path

The following command removes a path from the jump list by name c:\> jumplist -r users

Example: Retriving a path from the jump list by name

The following command outputs the path for the specified name

c:\> jumplist users
 c:\Users

Batch Files

The .\Scripts folder in the repository contains .bat files which service both alias the jumplist tool command to a shorter j command, and to use the path provided by the command to change the current working directory to the path specified by the jump command.

Once these scripts are placed in the PATH, the may be executed in the following way:

Adding a path

The following command adds the current path (c:\Users) to the jump list with the name 'users' c:\Users> jadd users

Listing saved paths

The following command lists the paths saved to the jump list

c:\> jls
 user -> c:\Users

Removing saved path

The following command removes a path from the jump list by name c:\> jrm users

Retriving a path from the jump list by name

The following command outputs the path for the specified name

c:\> j users
c:\Users> 

jumplist's People

Contributors

crfloyd avatar

Watchers

James Cloos avatar  avatar Ruben R. avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.