• v 6c4d581dab

    Release v
    Some checks failed
    Release Krayt / pypi-release-krayt (push) Failing after 21s
    Stable

    waylon released this 2025-12-25 17:22:32 -06:00 | 15 commits to main since this release

    [0.9.1] - 2025-12-25

    Added

    • Global options support: --verbose, --quiet, --output
    • Unix tool design principles with proper stdout/stderr separation
    • JSON/YAML output formats for programmatic use
    • Echo functions for consistent output routing
    • Pipe-friendly data output for scripting

    Fixed

    • Create command complexity issues (C901 reduced from 13 to < 10)
    • Inconsistent output handling across commands
    • Global options not being respected by all commands

    Changed

    • All commands now use echo_info(), echo_data(), echo_error()
    • Data output goes to stdout (pipe-friendly)
    • User info goes to stderr (respects --quiet)
    • Errors always go to stderr
    • Enhanced help documentation with global options

    Installation

    You can install krayt using one of these methods:

    pypi

    pip install krayt
    
    curl https://i.jpillora.com/waylonwalker/krayt | bash
    

    Direct install script

    curl -fsSL https://github.com/waylonwalker/krayt/releases/download/v/install.sh | bash
    

    Manual download

    You can also manually download the archive for your platform from the releases page:

    Command Line Usage

    Error getting help: warning: VIRTUAL_ENV=/home/waylon/.cache/uv/builds-v0/.tmpkL7sqH does not match the project environment path .venv and will be ignored; use --active to target the active environment instead
    Traceback (most recent call last):
    File "/home/waylon/git/krayt/.venv/bin/krayt", line 4, in
    from krayt.cli import app
    File "/home/waylon/git/krayt/krayt/cli.py", line 1022, in
    def _delete_jobs_and_collect_results(ctx: typer.Context, jobs) -> list[dict]:
    ~~~~^^^^^^
    TypeError: 'function' object is not subscriptable

    Downloads