Pythonic task execution library for managing shell-oriented subprocesses and organizing executable Python code into CLI-invokable tasks
Overall
score
96%
Build a task automation system that tracks and logs task executions with timestamps and execution metadata.
Create a custom task that automatically logs when it starts and completes execution, including the timestamp and any relevant metadata. The system should:
@generates
from invoke import Task
class LoggingTask(Task):
"""
Custom task class that logs execution metadata to 'task_log.txt'.
Logs task name, start timestamp, end timestamp, and execution duration.
"""
pass
def build(c):
"""Build the project."""
pass
def test(c):
"""Run tests."""
passProvides task automation and execution framework with support for custom task classes via the klass parameter.
@satisfied-by
Install with Tessl CLI
npx tessl i tessl/pypi-invokedocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10