Create a command-line tool /app/semver-range that resolves a semantic version range expression against a…
Create a command-line tool /app/semver-range that resolves a semantic version range expression against a…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - The tool reads exactly two arguments: 1. A range expression string (see rules below) 2. A…
The task
**Input contract:** - The tool reads exactly two arguments: 1. A range expression string (see rules below) 2. A path to a file containing available versions, one per line - Output: Print exactly one matching version string to stdout, or print nothing (empty output) if no version matches. Exit code 0 in both cases. -…
Part of ai-and/termgrade-environments.