wrknv 2025-11-10
Add TOML-based task runner system with comprehensive documentation
44 files · 7,652+ · 86-

Task runner core implementation

5 files changed
  • __init__.py New tasks package with public API exports
  • registry.py 355-line task registry for parsing wrknv.toml task definitions
  • executor.py 230-line task executor with subprocess management and streaming output
  • schema.py 189-line task schema for task definition validation
  • run.py 198-line CLI run command for executing tasks
  • Built a complete task runner system supporting simple commands, composite tasks, nested namespaces, environment variable injection, and subprocess streaming instantiate architectural
    4 files
    • registry.py
    • executor.py
    • schema.py
    • run.py

Expanded error handling

2 files changed
  • errors.py Added task-specific error classes
  • hub_cli.py Extended hub CLI with run command routing and auto-detection
  • Added task-specific error classes and integrated the run command into hub CLI with project auto-detection decouple behavioral
    2 files
    • errors.py
    • hub_cli.py

Documentation and examples

7 files changed
  • task-runner.md 257-line task runner feature guide
  • task-system.md 404-line task system architecture documentation
  • we-cli-reference.md 532-line CLI command reference
  • makefile-migration.md 683-line Makefile-to-wrknv migration guide
  • wrknv-toml.md 543-line wrknv.toml configuration reference
  • wrknv.toml Example nested task configuration
  • wrknv.toml Example simple task configuration
  • Created over 2400 lines of documentation covering task runner features, system architecture, CLI reference, Makefile migration, and wrknv.toml configuration with two example projects specify external
    3 files
    • task-runner.md
    • task-system.md
    • wrknv-toml.md

Task runner test suite

6 files changed
  • test_registry.py 175-line registry tests
  • test_registry_nested.py 319-line nested registry tests
  • test_executor.py 145-line executor tests
  • test_schema.py 151-line schema tests
  • test_schema_nested.py 189-line nested schema tests
  • test_auto_detect.py 261-line auto-detection tests
  • Added 1200+ lines of tests covering task registry parsing, nested task resolution, executor behavior, schema validation, and CLI auto-detection qualify internal
    3 files
    • test_registry.py
    • test_executor.py
    • test_schema.py