-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat(cli): add --quiet to chainindex validate-backfill + cleanups #12611
feat(cli): add --quiet to chainindex validate-backfill + cleanups #12611
Conversation
var chainIndexCmds = &cli.Command{ | ||
Name: "chainindex", | ||
Usage: "Commands related to managing the chainindex", | ||
HideHelpCommand: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unfortunately this hides subcommands from lotus-shed chainindex
help output
|
||
The command validates the chain index entries for each epoch in the specified range, checking for missing or | ||
inconsistent entries (i.e. the indexed data does not match the actual chain state). If '--backfill' is enabled | ||
(which it is by default), it will attempt to backfill any missing entries using the 'ChainValidateIndex' API. | ||
|
||
Parameters: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed this because it duplicates what urfave/cli/v2 prints out below this text
48bce27
to
7ed9129
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice
Comes from working through what a cron job would look like to do this regularly
--quiet