https://github.com/ignytis/taskcask
A task launcher tool
https://github.com/ignytis/taskcask
cli python python-cli task-management
Last synced: 8 months ago
JSON representation
A task launcher tool
- Host: GitHub
- URL: https://github.com/ignytis/taskcask
- Owner: ignytis
- License: mit
- Created: 2025-01-13T23:00:00.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-03-11T21:05:11.000Z (9 months ago)
- Last Synced: 2025-03-11T22:19:48.156Z (9 months ago)
- Topics: cli, python, python-cli, task-management
- Language: Python
- Homepage:
- Size: 106 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Task Cask
A tool to run pre-configured processes.
## Status
Early WIP
## Usage
See the example [config](examples/config/config.tcask) and [task template definitions file](examples/task_templates/system_commands.tcask)
```bash
$ export TASKCASK_CONFIG=$PWD/examples/config/config.tcask
$ tcask run example.system_commands.say_hello_world.with_env
2025-02-11 00:15:06,245 PID 26104 [INFO] taskcask.operations.run: Running a command...
Hello, John Doe! It's 2025-02-11T12:15:06. Sample: target_local_env_value. Deployment is: demo
2025-02-11 00:15:06,248 PID 26104 [INFO] taskcask.operations.run: Execution started at 2025-02-11 00:15:06.247525 and finished at 2025-02-11 00:15:06.247525. Time elapsed: 0:00:00.001310
```
## Ideas for development
- Extendable command list (plugins can add commands via autoload)
- Export into external task execution systems (Set of Bash scripts? [Luigi](https://luigi.readthedocs.io/)? [Dagster](https://dagster.io/)? [Apache Airflow](https://airflow.apache.org/)?)
- Loading the task templates from plugins
## Known issues / TODO
- Executors: map the process-specific exception into some general TaskException