Skip to content

feat(forge-selectors-list): add --no-group option #11270

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

0xferrous
Copy link
Contributor

@0xferrous 0xferrous commented Aug 11, 2025

Motivation

Currently forge selectors list shows one table of selectors per contract and that is fine. But the output is not greppable because if I wanted to see which contract had a particular selector, the contract name would be appearing before the table is printed.

Solution

--no-group option only prints one table and adds a contract field to each row which makes it greppable. And since it is a new option, the current behavior stays the same for everyone.

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant