Skip to main content

Rylees CLI

An LLM-assisted release-note generator and publisher. rylees reads the diff between two points in your Git history, asks an LLM to draft a release note in your project's configured tone, lets you review or edit it, and publishes it to the Rylees backend.

Requirements

  • Python 3.12 or newer
  • A Git repository to generate notes from
  • A Rylees API token and project token (from the developer console)
  • An OpenAI API key

Installation

The CLI is a standard PEP 517 package. Install it from the src/cli directory.

Using a virtual environment (recommended)

cd src/cli
python3.12 -m venv .venv
source .venv/bin/activate
pip install .

For development, install in editable mode with the dev dependencies:

pip install -e ".[dev]"

Using uv

cd src/cli
uv venv
uv pip install -e ".[dev]"

Once installed, the rylees command is available on your PATH (inside the activated environment):

rylees --version

Configuration

rylees reads configuration from a .env file in your current working directory (it searches upward from the cwd, not from the CLI's install location). Copy the bundled example and fill in your values:

cp .env.example .env
Variable Required Description
RYLEES_API_TOKEN yes Authenticates you against the Rylees API.
RYLEES_PROJECT_TOKEN yes Identifies the project to publish notes to.
OPENAI_API_KEY yes Used by the LLM to draft the release note.
RYLEES_API_URL no Override the base API URL. Default: https://api.rylees.ai/v1.
RYLEES_LLM_TEMPERATURE no Override the temperature configured on the project.
RYLEES_LLM_MODEL no Override the model. Default: GPT-5.4.

If a required variable is missing, the CLI exits with an error naming the variable.

Usage

Run rylees from the root of the Git repository you want to generate notes for.

rylees generate --start <ref> [options]

Options

Option Alias Default Description
--start -s (required) Start tag or commit hash.
--end -e HEAD End tag or commit hash.
--type -t tag Reference type: tag or commit.
--major Bump the major version.
--minor (default) Bump the minor version.
--patch Bump the patch version.
--publish -p off Skip the review step and publish immediately.

Only one of --major, --minor, --patch may be set. If none is given, --minor is assumed.

Examples

Generate a note for the changes between two tags and review it interactively:

rylees generate --start v1.2.0 --end v1.3.0 --minor

Generate from a range of commits instead of tags:

rylees generate --type commit --start a1b2c3d --end HEAD

Generate and publish a major release without manual review (use with care — this skips human review and prints a warning to stderr):

rylees generate --start v1.0.0 --major --publish

Interactive review (HITL)

Without --publish, the CLI prints the generated draft and prompts for an action:

[A] Accept and publish   [R] Regenerate     [E] Edit
  • A — publish the current draft to the Rylees backend.
  • R — regenerate a fresh draft from the same diff.
  • E — open the draft in your editor ($EDITOR, default nano), then return to the prompt with your edits.

On a successful publish, the CLI prints the resulting status and version.

How it works

  1. Loads and validates configuration from .env.
  2. Fetches the project's configuration (tone, temperature) from the Rylees API.
  3. Opens the local Git repository and computes the diff between --start and --end.
  4. Strips noise (binary and lock-file diffs) and truncates the diff to fit the LLM context window.
  5. Generates a release-note draft in the project's configured tonality.
  6. Lets you review, regenerate, or edit the draft — then publishes it.

Development

Run the test suite from src/cli:

pip install -e ".[dev]"
pytest

Metadata

Release files for rylees 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rylees 0.1.6
File Size Uploaded
rylees-0.1.6.tar.gz 95.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rylees 0.1.6
File Interpreter ABI Platform
rylees-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 112.5 kB

Release files / rylees-0.1.6.tar.gz

Download URL rylees-0.1.6.tar.gz
Size 95.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9b99560c9a407126bb025745c3b5702b504531021435c3fd169bd88c287497e7
BLAKE2b-256 checksum
How to use checksums
37b22483d8b46b06b48f2c9c38a77e43024cc5f47bfded7dc53bca4acbd11061
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / rylees-0.1.6-py3-none-any.whl

Download URL rylees-0.1.6-py3-none-any.whl
Size 16.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bd25d774c76f22a4bf0fce360cfbc29548261a47039182fc4da749d5425ccdf5
BLAKE2b-256 checksum
How to use checksums
1902a336d3cb02914e22e038570d8eb131e9b24e1a627162a2a04f304f58dfa7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page