Skip to content

List asset in the no-arg landing page Commands map - #183

Merged
KraHsu merged 1 commit into
dev/asset-zoo-clifrom
feat/asset-zoo-cli-landing-fix
May 29, 2026
Merged

KraHsu merged 1 commit into
dev/asset-zoo-clifrom
feat/asset-zoo-cli-landing-fix

Conversation

@KraHsu

@KraHsu KraHsu commented May 29, 2026

Copy link
Copy Markdown
Owner

Follow-up to #182. The genelab (no arguments) landing page is
rendered by hand in render_main_help instead of being auto-generated
from typer's --help panel, so adding the asset command group via
add_typer in #182 made it show up under genelab --help but
not under the bare genelab landing page.

This one-line fix lists asset alongside list, info in the
landing page's Registry row.

The commit was pushed to the original feat/asset-zoo-cli branch
right after CI greenlit 3ab1fd2 but landed too late to make it into
#182's merge; cherry-picked here onto the post-merge
dev/asset-zoo-cli tip.

Test plan

  • genelab (no arguments) now shows Registry list, info, asset
  • pytest tests/test_cli_help_snapshots.py — 12 passed
  • CI lint / typecheck / test — expected to pass since the
    change is a one-line print string.

``genelab`` (no arguments) renders a hand-rolled landing page via
``render_main_help`` that lists one row per command group. The
``--help`` panel auto-listed ``asset`` from ``add_typer`` already, but
the landing page row for Registry hadn't been updated, so users hitting
``genelab`` blank didn't see the new command group.
@KraHsu
KraHsu merged commit 3efffec into dev/asset-zoo-cli May 29, 2026
3 checks passed
@KraHsu
KraHsu deleted the feat/asset-zoo-cli-landing-fix branch May 29, 2026 08:01
KraHsu added a commit that referenced this pull request Jun 5, 2026
List asset in the no-arg landing page Commands map
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.

1 participant