Skip to content
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

feature: loglevel value parser #8573

Merged
merged 10 commits into from
Jun 5, 2024

Conversation

JackG-eth
Copy link
Contributor

@JackG-eth JackG-eth commented Jun 3, 2024

custom clap value parser for LogLevel enum

Motivation
remove clap feature from LogLevel: closes #8465

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

nice, valueparser looks great

now we need to move this to node-core so we can actually get rid of the clap dep

crates/storage/errors/src/db.rs Outdated Show resolved Hide resolved
@JackG-eth JackG-eth requested a review from gakonst as a code owner June 3, 2024 22:10
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

almost there

crates/node-core/src/args/database.rs Outdated Show resolved Hide resolved
crates/node-core/src/args/database.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

ty

@mattsse mattsse enabled auto-merge June 5, 2024 07:46
@mattsse mattsse added the A-cli Related to the reth CLI label Jun 5, 2024
@mattsse mattsse added this pull request to the merge queue Jun 5, 2024
Merged via the queue into paradigmxyz:main with commit 7e60bc4 Jun 5, 2024
30 checks passed
mw2000 pushed a commit to mw2000/reth that referenced this pull request Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-cli Related to the reth CLI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

remove clap feature from LogLevel
2 participants