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.
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
<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]
-h, --help Prints usage information.
- Gets a path address matching the key
- List all saved records in a human readable format
- Removes a record matching the key
- Renames a key
- Saves a path with a key.
Run goto help <command>
for more information about a command.
### 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
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.