Git Product home page Git Product logo

goto's Introduction

Goto

A simple command-line tool for managing shortcuts to your directories. Keeps a key-value record of paths you wish to save for quick access later.

Installation

Use Wizard to install Goto.

Just enter the below line in your terminal.

./wizard.sh install

This will do a regular installation for the latest version of goto.


You can also build and install goto from any commit of this repository

# build (needs dart installed)
$ ./wizard.sh build

# installs goto (if bin/goto-cli already exists)
$ ./wizard.sh installb

Usage

<key> must only have alphabets, numbers, underscore and it should not be any command name or an alias of any command.

Use goto <key> to redirect to <key>'s path

or just goto <command> [arguments]

Global options

-h, --help Prints usage information.

Available commands (with their aliases)

get, g

  • Gets a path address matching the key

list, ls, l

  • List all saved records in a human readable format

remove, rm, r

  • Removes a record matching the key

rename, re

  • Renames a key

set, save, s

  • Saves a path with a key.

Run goto help <command> for more information about a command.

example

### run goto help
$ goto help

### Save current directory with key "games"
$ goto set games .

### Save directory with key "scr"
$ goto set scr /home/xyz/Work/scripts

Development

Goto command-line application has an entrypoint in bin/ for binary & for entrypoint source, library code in lib/, and unit test in test/.

This project includes a number of helpers in the wizard to streamline common tasks.

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.