PaulloClara / pyalias

This project aims to increase developer productivity by decreasing the use of commands used to execute/invoke programs/interpreters, regardless of the programming language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyAlias

This project aims to increase developer productivity by decreasing the use of commands used to execute/invoke programs/interpreters, regardless of the programming language.

Install

$ git clone https://github.com/paulloclara/pyalias.git ~/.pyalias && python3 ~/.pyalias/install.py
$ source ~/.<your_bashrc>

Run

$ pyalias <file_name or file_path> <args or void>

Update

$ (cd ~/.pyalias && git pull)

Dev

$ git clone https://github.com/paulloclara/pyalias.git
$ cd pyalias
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip3 install -r requirements.txt
$ nano ~/.<your_bashrc> | ex: $ nano ~/.bashrc

Add the code at the end of the file:

function pyalias-dev() {
  python3 -B /<pyalias_path>/run.py $(pwd) FULL_FILE_PATH=$1 $* --pydev
}
$ source ~/.<your_bashrc>
$ pyalias-dev <file_name or file_path> <args or void>

About

This project aims to increase developer productivity by decreasing the use of commands used to execute/invoke programs/interpreters, regardless of the programming language.

License:MIT License


Languages

Language:Python 83.5%Language:Java 7.5%Language:C++ 4.6%Language:C 4.4%