Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Command-line utility to create shortcuts for running scripts

Project description

# Jumprun

[![Build Status](https://travis-ci.org/itsnauman/jumprun.svg?branch=master)](https://travis-ci.org/itsnauman/jumprun)

A command-line utility for creating shortcuts for running scripts.

#### Supported Interpreters:

- Python
- Ruby
- Perl
- Shell
- PHP
- Java

#### Installation:

It can be installed using PyPi, `$ pip install jumprun`. Jumprun supports only Python 3 at the moment!

#### Example
Say I have a python file `test_hello.py` in the `~/Developer` directory and I want to make a shortcut for
running this script.

- Run `jr add testhello test_hello.py` in `~/Developer' to make a shortcut.
- Now you can run `jr testhello` from anywhere in terminal to execute the script.
- You can get further details about a command using `jr show testhello`.
- You can erase all shortcuts using `jr rm all`

#### Usage:
```
Usage:
jr add <name> <command> [-d WORKDIR] [-f]
jr rm all
jr rm <name>
jr show
jr show all
jr show <name>
jr rename <old> <new>
jr <name>
jr -h
jr -v

Commands:
add Add a new shortcut
rm Delete a shortcut
rename Rename a shortcut
show List all shortcuts

Options:
-h, --help Show this screen.
--version Show version.
--workdir <dir>, -d <dir> Working directory for the command
--force, -f Overwrite existing shortcut
```

#### Tests:
`$ python test_jumprun.py`

#### License:
`Jumprun` is distributed under MIT license, see `LICENSE` for more details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for jumprun, version 1.12
Filename, size File type Python version Upload date Hashes
Filename, size jumprun-1.12-py3-none-any.whl (7.0 kB) File type Wheel Python version 3.4 Upload date Hashes View hashes
Filename, size jumprun-1.12.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page