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.1.0.tar.gz (25.4 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.1.0-py3-none-any.whl (31.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ry_tool-1.1.0.tar.gz
Algorithm Hash digest
SHA256 3b2f7c394119ec7c1fccd6ff7eae42cc3d6ac0eddc9132f212bb4eca8a6551fc
MD5 2f6307b1ee00192a74a96bcb79fb37fe
BLAKE2b-256 ccb1fff96f4b4b1072d76a737fd9baabb1d82f220f791b570e18f4178eefbeea

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ry_tool-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5e64f9dd2f2b21539461d0f77ebcbaaa687852f5f374b0c31710425791b364d6
MD5 7813ad650a69eac65cd9c1fd48cfdfbf
BLAKE2b-256 ca26904d5c878dff9c965407147618af52985fd5174f489f9875c39dea8e2530

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