Skip to content

Add issue-flow update and safer re-init messaging#5

Merged
jepegit merged 1 commit into
mainfrom
4-update-issueflow-for-already-initialized-projects
Apr 15, 2026
Merged

Add issue-flow update and safer re-init messaging#5
jepegit merged 1 commit into
mainfrom
4-update-issueflow-for-already-initialized-projects

Conversation

@jepegit
Copy link
Copy Markdown
Owner

@jepegit jepegit commented Apr 15, 2026

Closes #4

Summary

  • Add issue-flow update to refresh packaged Cursor slash commands, rules, and docs/cursor-issue-workflow.md from the installed package, and to recreate any missing .issueflows/ subdirectories.
  • Refactor manifest writes so init and update share one code path; init without --force still skips existing manifest outputs so issue markdown under .issueflows/ is never touched by these commands.
  • When init sees an existing scaffold and --force is not used, print a short note pointing users at issue-flow update versus init --force.
  • README and developing docs describe when to use init, update, and --force.
  • Tests cover overwrite behavior, preservation of issue files, and recreation of a removed subfolder.

How to test

uv sync
uv run pytest
uv run issue-flow update --help

Made with Cursor

Introduce run_update to refresh packaged Cursor commands, rules, and
workflow documentation while leaving .issueflows issue markdown untouched.
Extract manifest writes for shared use by init and update. When init runs
on an existing scaffold without --force, print guidance about update versus
force. Document init, update, and --force in the README and developing guide.
Add tests for update behavior and archive issue #4 tracking files.

Made-with: Cursor
@jepegit jepegit linked an issue Apr 15, 2026 that may be closed by this pull request
@jepegit jepegit merged commit 60c4c92 into main Apr 15, 2026
1 check passed
@jepegit jepegit mentioned this pull request Apr 15, 2026
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.

update issueflow for already initialized projects

1 participant