Write a CLI tool /app/resolve that reads a constraints file and a set of available versions from stdin, and…
Write a CLI tool /app/resolve that reads a constraints file and a set of available versions from stdin, and…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format (stdin): - Line 1: a comma-separated list of semver constraints (the "constraints line"). Each…
The task
**Input format (stdin):** - Line 1: a comma-separated list of semver constraints (the "constraints line"). Each constraint is one of: `>=X.Y.Z`, `<=X.Y.Z`, `>X.Y.Z`, `<X.Y.Z`, `=X.Y.Z`, or `^X.Y.Z` (caret range). Constraints are ANDed together. - Line 2: a comma-separated list of available version strings, each a…
Part of ai-and/termgrade-environments.