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.0.1.tar.gz (24.9 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.0.1-py3-none-any.whl (30.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ry_tool-1.0.1.tar.gz
Algorithm Hash digest
SHA256 1e79e9c8208fe98224aedda521d9ea20a3c70c34437a5ba8baaaeb5f7cae2149
MD5 a01c98ad8e120236b26a4bc7fb0a607c
BLAKE2b-256 52c447caf9861af36e9267aef6e4ddd54675895cfb31c4866f14daccce07556e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ry_tool-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e021d80f823752c2d1e4a004e963b1e1c7c647dc8510286f2600f5b625509654
MD5 8aadcb163c9551620ab9f085055ef7f4
BLAKE2b-256 2f17bd13cdabdbf10d6739dba153b9ef3838298c76a0f3e61b19a29d1b6b5c1d

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