Skip to content

Rewrite CLI as thin Click wrapper #98

Description

@dmartmillan

Description
Rewrite openvar.py to import nothing heavy at module level. All task imports happen inside command callbacks (lazy).

Files

  • openvariant/commands/openvar.py — REWRITE

Definition of Done

  • openvar --help works without triggering Rust extension load
  • openvar cat, openvar count, openvar groupby all work end-to-end
  • All CLI options preserved (no breaking changes in flags)

Documentation needed: No CLI interface changes — no doc updates needed.

Tests needed:

  • E2E test: subprocess.run(["openvar", "count", ...]) returns correct output on fixture data

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions