Skip to content

Conversation

@roee-hersh
Copy link

No description provided.

@roee-hersh roee-hersh requested a review from localden as a code owner November 15, 2025 14:36
Copilot AI review requested due to automatic review settings November 15, 2025 14:37
Copy link
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 PR adds a --preserve-constitution flag to the specify init command, allowing users to preserve their existing memory/constitution.md file when reinitializing a project. This is particularly useful when users want to update project templates while keeping their customized constitution file.

Key changes:

  • Added preserve_constitution parameter to download_and_extract_template() function
  • Implemented skip logic for constitution.md when the flag is set and file exists
  • Updated CLI command with new --preserve-constitution option and documentation

Reviewed Changes

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

File Description
src/specify_cli/init.py Added preserve_constitution parameter to download_and_extract_template function and init command, implemented file preservation logic
README.md Added documentation for the new --preserve-constitution flag with usage examples

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

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.

1 participant