Create a command-line tool semver-range that takes a path to a semver range specification file and a path to…
Create a command-line tool semver-range that takes a path to a semver range specification file and a path to…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Output: Print to stdout one resolved version per line, sorted in semver descending order (highest version…
The task
**Output:** Print to stdout one resolved version per line, sorted in semver descending order (highest version first). If multiple versions tie (exact same semver), preserve the order from the input file (stable sort). If no versions match, output nothing (empty output). Always end output with a trailing newline.
Part of ai-and/termgrade-environments.