https://github.com/aahnik/ado-py
Do stuff with python. Quickly access functions defined in do.py from the command-line.
https://github.com/aahnik/ado-py
cli-app python3 task-runner
Last synced: 8 months ago
JSON representation
Do stuff with python. Quickly access functions defined in do.py from the command-line.
- Host: GitHub
- URL: https://github.com/aahnik/ado-py
- Owner: aahnik
- License: mit
- Created: 2021-05-21T06:16:17.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-29T02:16:20.000Z (about 5 years ago)
- Last Synced: 2025-02-01T09:51:19.329Z (over 1 year ago)
- Topics: cli-app, python3, task-runner
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ado-py
Do stuff with python. Quickly access functions from the command-line.
Automate stuff and save time.
Inspired by make. 😂
To avoid repetition of lines in the terminal, we often create a make alias and call
`make func`
In `make` you write stuff in shell, in `ado`, you write in python.
## Installation
```shell
pip install ado-py
```
## Usage
Create a `do.py` file in your directory.
Write functions in it like this
Note: the functions in `do.py` should not take any arguments.
For user input use `input()` function.
Call any function from the terminal by running `ado func`.
Running only `ado` would print the docstring of `do.py`.