Skip to content

feat(simply-flow): allow pruning by explicit flow name - #136

Merged
ClayChipps merged 2 commits into
mainfrom
feat/flow-version-prune-flow-name
Aug 28, 2026
Merged

feat(simply-flow): allow pruning by explicit flow name#136
ClayChipps merged 2 commits into
mainfrom
feat/flow-version-prune-flow-name

Conversation

@ClayChipps

Copy link
Copy Markdown
Contributor

Summary

  • sf simply flow version prune previously required --source-dir, forcing a caller who already knows the flow name to still glob a local *.flow-meta.xml just to supply it.
  • Adds --flow-name/-n (repeatable) as an alternative to --source-dir, mirroring flow delete's --manifest/--flow-name XOR shape — exactly one of --source-dir/--flow-name must be given.
  • No new query shape: whichever flag resolves the flow names, they feed the same chunkedInQuery obsolete-version lookup.

Test plan

  • vitest run in packages/simply-flow — new tests: prunes via --flow-name without scanning source, rejects --source-dir + --flow-name together, rejects neither given
  • pnpm run build at the root — command-snapshot.json regenerated for simply-flow and the bundled simply orchestrator
  • pnpm run readme in packages/simply-flow and packages/simply
  • pnpm --filter site run sync + prettier --write for the docs site
  • pnpm run build && pnpm test (full monorepo pre-push hook)

🤖 Generated with Claude Code

ClayChipps and others added 2 commits August 27, 2026 21:21
sf simply flow version prune previously required --source-dir, forcing
a caller who already knows the flow name to still glob a local
*.flow-meta.xml just to supply it. Adds --flow-name/-n as an
alternative to --source-dir, mirroring flow delete's
--manifest/--flow-name XOR shape.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@ClayChipps
ClayChipps enabled auto-merge August 28, 2026 01:24
@ClayChipps
ClayChipps merged commit 2b69462 into main Aug 28, 2026
6 checks passed
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