Skip to content

cli: describe dataset, export, and serve commands - #194

Merged
kstonekuan merged 1 commit into
Hebbian-Robotics:mainfrom
wuisabel-gif:fix/issue-193-parent-help
Aug 26, 2026
Merged

kstonekuan merged 1 commit into
Hebbian-Robotics:mainfrom
wuisabel-gif:fix/issue-193-parent-help

Conversation

@wuisabel-gif

Copy link
Copy Markdown
Contributor

Summary

  • Add detailed help descriptions for hflow dataset, hflow export, and hflow serve.
  • Add CLI regression coverage verifying each parent command exposes its description.
  • Keep command behavior unchanged.

Motivation

These commands previously displayed only usage, options, or subcommand lists
when invoked with --help. The added descriptions explain each command's
purpose, current subcommand/output, and how hflow serve differs from the
processing runtime started by hflow up.

Testing

  • uv run pytest tests/test_cli.py -q
  • uv run pytest -q
  • uv run ruff check src/hflow/cli.py tests/test_cli.py
  • uv run ruff format --check src/hflow/cli.py tests/test_cli.py
  • uv run ty check
  • git diff --check

Closes #193

@kstonekuan kstonekuan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merging. Every subcommand now has a description, so the defect class is closed rather than reduced.

Both factual claims check out. export snapshot really is a tool-neutral directory of Parquet tables plus ordinary media files, in those words in snapshot.py's docstring, and dataset create really does write a manifest plus a provenance sidecar. Rendered dataset --help and export --help to confirm the parent descriptions sit sensibly above the subcommand list. 979 passed.

You also filed #193 first and waited for #188 to merge before opening this. That is exactly right and it is the reason nothing got auto-closed.

@kstonekuan
kstonekuan merged commit a54d46c into Hebbian-Robotics:main Aug 26, 2026
5 checks passed
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.

CLI: add descriptions to dataset, export, and serve help

2 participants