No project description provided
Project description
Judoka
Judoka is a command line utility that lets you define project scoped commands and call them through their alias. It lets you just do (= judo) your work.
Installation
Install this library using pip
:
$ pip install judoka
Usage
Create a .judorc
file in your project root, like the example below:
greet = "cowsay 'Hi!'"
[frontend]
start = "npm run start"
[backend]
start = "docker compose up -d"
Then, just run any of the aliases:
$ judo greet
$ judo frontend:start
$ judo backend:start
Or, have a list of all the available commands in your project:
$ judo
You may also choose to include a .judorc
file in your $HOME
folder (~/.judorc
). Commands defined in this file will always be loaded first and will be overwritten if an overlapping command was found.
Development
To contribute to this library, first checkout the code. Then create a new virtual environment:
cd judoka
python -mvenv venv
source venv/bin/activate
Or if you are using pipenv
:
pipenv shell
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
pytest
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
Built Distribution
File details
Details for the file judoka-0.2.tar.gz
.
File metadata
- Download URL: judoka-0.2.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c38f188601c294fc0bb9ac4edef054c2ee7ff4c47a1b2774aabe84d49469aae |
|
MD5 | f1d1cc509146560ae559e0d69517b3b8 |
|
BLAKE2b-256 | 0664efd0535e88dbf253d17bdeda032b124fa211e6b259ac5e1c77ad3edae5a7 |
File details
Details for the file judoka-0.2-py3-none-any.whl
.
File metadata
- Download URL: judoka-0.2-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ee4e1720e7cc0b28aa14da5e423d21031101f14c6958d466d1f942e8b6165b6 |
|
MD5 | 57feae628a0faf043b718193655e03d2 |
|
BLAKE2b-256 | 119b1a5dd0f5c3428166dc5d8c890c24cdbeaaab8b491ee0ef092254e3927b2c |