Unify EmbodiChain CLI commands#428
Merged
Merged
Conversation
Route public tools and benchmarks through the embodichain console command, preserve module compatibility, and expose complete lazy-loaded help. Update CLI documentation and add dispatch coverage.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR unifies EmbodiChain's public command-line tools under the
embodichain <command> [args]entry point.It adds lazy command dispatch for data assets, SimReady processing, URDF decomposition, benchmarks, and workspace cache management; forwards each command to its complete parser so nested
--helpoutput is accurate; and preserves the existing module entry points for compatibility. It also aligns required/default arguments, updates command examples across the documentation, and adds CLI routing tests.Motivation: several user-facing tools still required deep
python -m ...paths, while existing unified subcommands exposed empty help parsers and eagerly loaded unrelated heavy modules.Dependencies: none.
Issue: N/A (requested directly).
Type of change
Screenshots
Not applicable; this change affects command-line interfaces and documentation.
Validation
black . --extend-exclude '(^|/)\\.worktrees/'— 470 files unchangedpytest -q tests— 711 passed, 99 skipped--helpsmoke checksChecklist
black .command to format the code base.