Skip to content

Use click show default#623

Merged
cyc60 merged 2 commits intomasterfrom
show-default
Dec 16, 2025
Merged

Use click show default#623
cyc60 merged 2 commits intomasterfrom
show-default

Conversation

@cyc60
Copy link
Copy Markdown
Contributor

@cyc60 cyc60 commented Dec 16, 2025

No description provided.

Signed-off-by: cyc60 <avsysoev60@gmail.com>
Copilot AI review requested due to automatic review settings December 16, 2025 11:54
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request standardizes the display of default values in Click CLI options by using the show_default=True parameter instead of manually including default values in help text strings. This improves maintainability by ensuring help text stays synchronized with actual default values.

Key Changes:

  • Replaced hardcoded default value descriptions in help text with the show_default=True parameter
  • Removed redundant default=False declarations for boolean flags (as False is the default for is_flag=True)
  • Cleaned up multi-line help text formatting

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/commands/start/common_option.py Updated multiple Click options to use show_default=True and simplified help text
src/commands/recover.py Removed redundant default=False for a boolean flag option
src/commands/process_meta_vaults.py Updated option to use show_default=True and simplified help text
src/commands/exit_validators.py Updated option to use show_default=True and simplified help text
src/commands/consolidate.py Updated option to use show_default=True, simplified help text, and removed redundant default=False for flags

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: cyc60 <avsysoev60@gmail.com>
@cyc60 cyc60 merged commit ac40634 into master Dec 16, 2025
8 checks passed
@cyc60 cyc60 deleted the show-default branch December 16, 2025 13:02
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.

3 participants