Skip to content

feat(cli): add compose selectors command - #411

Merged
0x76agabond merged 1 commit into
Perfect-Abstractions:mainfrom
0x76agabond:feature/compose-selectors
Oct 9, 2026
Merged

0x76agabond merged 1 commit into
Perfect-Abstractions:mainfrom
0x76agabond:feature/compose-selectors

Conversation

@0x76agabond

Copy link
Copy Markdown
Collaborator

Summary

Add compose selectors <address> --chain <chain> for a focused view of a deployed diamond’s selectors.

Changes Made

  • Reuse inspect’s facet query and signature decoding, with separate selector-focused output.
  • Show unknown signatures as raw selectors with a warning.
  • Add command, pipeline, and output tests plus a CLI changeset.

Checklist

  • Code matches the CLI’s pipeline/module style
  • Existing and new CLI tests pass: 164 tests
  • CLI lint and build pass
  • Changeset added
  • forge fmt / forge test: not run separately; no Solidity files changed
  • Solidity feature ban and design principles: not applicable to this CLI-only change
  • Documentation updated: not applicable; command has --help text

Additional Notes

@netlify

netlify Bot commented Oct 8, 2026

Copy link
Copy Markdown

👷 Deploy request for compose-diamonds pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 3dfff96

@changeset-bot

changeset-bot Bot commented Oct 8, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3dfff96

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@perfect-abstractions/compose-cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

CLI Coverage

Commit: 3dfff96

Metric Coverage Covered/Total
Lines 70% 2095/3001
Functions 73% 438/598
Branches 60% 1190/1975

@0x76agabond
0x76agabond merged commit 6af2ff4 into Perfect-Abstractions:main Oct 9, 2026
5 checks passed
@0x76agabond
0x76agabond deleted the feature/compose-selectors branch October 9, 2026 13:00
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