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.
[![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.
Source Distribution
jumprun-1.12.tar.gz
(4.9 kB
view details)
Built Distribution
File details
Details for the file jumprun-1.12.tar.gz
.
File metadata
- Download URL: jumprun-1.12.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a17cd04d456bb91898fc887c3f02df2a4e6a2d38742f4f3f4d4141c98f08b80f |
|
MD5 | a7d3230e0a870c806f966e9539e574cf |
|
BLAKE2b-256 | 1764457df322bb1df2e66c42a291800010d77031ad049a3d05dd88483db41a49 |
File details
Details for the file jumprun-1.12-py3-none-any.whl
.
File metadata
- Download URL: jumprun-1.12-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aef93cf56c85f3e40082ed404de354046923d516e4bf65b4e45b485f869e0a1d |
|
MD5 | 9365b2f126c25d730d5f8c4781281aa4 |
|
BLAKE2b-256 | 2c841297d403b3e3b09725fe908fe48539e95c200d3c69da59ee6711b855d9e5 |