Skip to content

Comments

Change DB Manager Clap usage to derive#5898

Merged
mergify[bot] merged 8 commits intosigp:unstablefrom
eserilev:clap-derive-db-manager
Jul 12, 2024
Merged

Change DB Manager Clap usage to derive#5898
mergify[bot] merged 8 commits intosigp:unstablefrom
eserilev:clap-derive-db-manager

Conversation

@eserilev
Copy link
Member

@eserilev eserilev commented Jun 6, 2024

partially #5900

This is part of a series of PRs that aims to move the Lighthouse cli to clap derive. This PR moves the db manager crate to clap derive and introduces the ability to include clap derive subcommands within our existing clap builder flag definitions.

@eserilev eserilev changed the title Move DB Manager crate to Clap Derive Change DB Manager Clap usage to derive Jun 6, 2024
@eserilev eserilev mentioned this pull request Jun 6, 2024
8 tasks
@eserilev eserilev marked this pull request as ready for review June 6, 2024 14:41
@eserilev eserilev added the ready-for-review The code is ready for review label Jun 17, 2024
@michaelsproul
Copy link
Member

michaelsproul commented Jun 19, 2024

Noticed that e.g. lighthouse db inspect --help doesn't work. We might want to declare the help flag as a global flag or something?

@eserilev
Copy link
Member Author

nice catch, 897bd8d defines the help flag as global now. this seems to have fixed the issue

@eserilev eserilev force-pushed the clap-derive-db-manager branch from 1fc5ee1 to bab2c2e Compare June 19, 2024 14:05
Copy link
Collaborator

@dapplion dapplion left a comment

Choose a reason for hiding this comment

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

LGTM! Looking forward to see all CLIs with derive :)

@jimmygchen jimmygchen added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Jul 12, 2024
@jimmygchen
Copy link
Member

@mergify queue

@mergify
Copy link

mergify bot commented Jul 12, 2024

queue

✅ The pull request has been merged automatically

Details

The pull request has been merged automatically at b7b5dd7

mergify bot added a commit that referenced this pull request Jul 12, 2024
@mergify mergify bot merged commit b7b5dd7 into sigp:unstable Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code-quality ready-for-merge This PR is ready to merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants