Skip to content

Improve headless CLI behavior and documentation - #2

Merged
AL3XPI merged 7 commits into
AL3XPI:feature/headless-clifrom
btmlnsn:feature/headless-cli
Nov 12, 2026
Merged

AL3XPI merged 7 commits into
AL3XPI:feature/headless-clifrom
btmlnsn:feature/headless-cli

Conversation

@btmlnsn

@btmlnsn btmlnsn commented Nov 12, 2026

Copy link
Copy Markdown

This updates the headless CLI and its documentation.

  • Uses labgym-cli for headless commands while preserving LabGym as the GUI command.
  • Makes bare labgym-cli show CLI help without importing or launching the GUI.
  • Restores GUI-compatible inference summary roll-ups for Mine Results workflows.
  • Adds animal_vs_bg support for background-subtraction inference.
  • Documents the CLI entry point, result-directory reuse, empty summary parameters, and the command rename.

Testing:

  • python -m pytest LabGym/tests/test_cli.py -q --tb=short -p no:cacheprovider
    • 70 passed
  • Built and installed the package in a fresh Python 3.10 Conda environment.
    • LabGym and labgym-cli install as distinct wrappers.
    • No labgym wrapper is installed.
    • Installed labgym-cli --help exits 0 and prints the expected help text.

@AL3XPI
AL3XPI merged commit aa94216 into AL3XPI:feature/headless-cli Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants