Skip to main content

Pure YAML command orchestrator - CI/CD for humans

Project description

ry-next

A clean, modular command augmentation framework that enhances existing CLI tools without breaking their native behavior.

Features

  • Command Augmentation: Wrap and enhance existing CLI tools
  • Clean Architecture: Modular design with single-responsibility components
  • Type-Safe Processing: Recursive template processing with type dispatch
  • Token-Based Safety: Time-limited tokens for dangerous operations
  • Library System: Reusable command definitions with metadata
  • No Shell Escaping: Direct subprocess execution for safety

Installation

pip install -e .

This installs the ry-next command globally.

Quick Start

# List available libraries
ry-next --list

# Get help for a library
ry-next git --ry-help

# Execute augmented command
ry-next git commit -m "feat: new feature"

# Show execution plan (dry run)
ry-next --ry-run git commit -m "test"

Production Libraries

  • git - Enhanced git workflow with review tokens and commit validation
  • uv - Python package management with automated version workflows
  • changelog - Simple changelog management following Keep a Changelog
  • ry-lib - Library development and management tools

Documentation

Project Structure

ry-next/
├── src/ry_next/         # Core implementation
├── docs/
│   ├── libraries/       # Production libraries
│   └── README_RYNEXT.md # Full documentation
├── examples/            # Example libraries
└── _archive/            # Old ry-tool code (deprecated)

Key Concepts

Library Format (v2.0)

version: "2.0"
name: git
type: augmentation
target: /usr/bin/git

commands:
  commit:
    flags:
      m/message: string
    augment:
      before:
        - python: |
            # Validation logic
      relay: native

Token-Based Safety

Critical operations require preview and token verification:

# Preview changes
git diff --staged  # → Generates REVIEW_TOKEN

# Execute with token
REVIEW_TOKEN=xxx git commit -m "message"

Development

See docs/README_RYNEXT.md for complete documentation.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ry_tool-1.2.0.tar.gz (25.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ry_tool-1.2.0-py3-none-any.whl (31.2 kB view details)

Uploaded Python 3

File details

Details for the file ry_tool-1.2.0.tar.gz.

File metadata

  • Download URL: ry_tool-1.2.0.tar.gz
  • Upload date:
  • Size: 25.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for ry_tool-1.2.0.tar.gz
Algorithm Hash digest
SHA256 bdd87dddfcfefc7b7f268ea5c5871cfd36c6b43c25fe909a63f60ab3be2a6de7
MD5 f81bf9deadc17dc65780bfc4d971a3d3
BLAKE2b-256 24fbcde1dc77af4d1740d32b1c12e8b6bc7130817ee0af9797cd6b5ee8663b96

See more details on using hashes here.

File details

Details for the file ry_tool-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: ry_tool-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 31.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for ry_tool-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ea87c03615e2e31dcec9daecc496b93b5a9f93c6d5cefac0f14418cfa8fd24d
MD5 ccb1b357112cf4eb93a3a85691e04624
BLAKE2b-256 aa47d453790cab080bbe5edc524229d79438e0e7dba614eddd4c54cdc332fca2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page