Skip to content

Conversation

@GooglyBlox
Copy link
Contributor

@GooglyBlox GooglyBlox commented Oct 22, 2025

Implements #1211
Makes --setup the default behavior for update and server commands and deprecates the flag for future removal.

Changes

  • The --setup flag now defaults to True (previously False) for both cocoindex update and cocoindex server commands
  • Added a callback that displays a warning when users explicitly use --setup, informing them the flag is deprecated
  • Flag description now shows (DEPRECATED) and indicates it's enabled by default

@GooglyBlox
Copy link
Contributor Author

GooglyBlox commented Oct 22, 2025

Very simple fix, can make any changes to wording or structure you need!

Copy link
Member

@georgeh0 georgeh0 left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

@georgeh0 georgeh0 merged commit 4c6bb6e into cocoindex-io:main Oct 23, 2025
9 checks passed
@GooglyBlox GooglyBlox deleted the feature/setup-flag-deprecation branch October 23, 2025 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants