Implement a click -based CLI tool in task module.py that provides an editor-backed annotation command …
Implement a click -based CLI tool in task module.py that provides an editor-backed annotation command …: a task in repo2rlenv-code-instruct (Harbor dataset). Also implement a standalone function run annotate(label, extension=".txt") that invokes this logic directly (without the CLI runner) and…
The task
Also implement a standalone function `run_annotate(label, extension=".txt")` that invokes this logic directly (without the CLI runner) and returns the dict or raises `click.UsageError`.
Part of FineEnvs/repo2rlenv-code-instruct.