feat(cli): Add named viewpoints for render, export, and playground#70
Merged
Conversation
Named [viewpoints.<name>] presets now merge between command defaults and explicit CLI flags, so render and export can share reusable focus, filter, and grouping boundaries from config. The CLI now exposes --viewpoint on render and export, export accepts include/exclude filters, and the fixture, docs, and snapshot coverage lock the new behavior down end to end.
The public playground now exposes example-specific viewpoint presets that apply reusable focus, filter, depth, and grouping combinations from a single selector. Selections stay synced with the URL, custom edits fall back to Manual, and the relune skill docs now describe both CLI viewpoints and the playground workflow.
Code Metrics Report
Details | | main (0824f6b) | #70 (7fca03c) | +/- |
|---------------------|----------------|---------------|-------|
+ | Coverage | 94.2% | 94.3% | +0.0% |
| Files | 77 | 77 | 0 |
| Lines | 31546 | 31834 | +288 |
+ | Covered | 29746 | 30025 | +279 |
- | Test Execution Time | 3m2s | 3m20s | +18s |Code coverage of files in pull request scope (96.6% → 96.6%)
Reported by octocov |
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.
Summary
--viewpointflag support for render and export commandsChanges
[viewpoints.<name>]config presets that merge between command defaults and explicit CLIflags, enabling reusable focus, filter, and grouping boundaries
--viewpointflag to render and export commands, with export also accepting include/exclude filtersdocumentation
custom edits