Skip to content

feat(cli): add -o/-x short aliases for --only/--exclude#102

Merged
hyldmo merged 1 commit into
mainfrom
hyldmo/config-process-filter
Apr 16, 2026
Merged

feat(cli): add -o/-x short aliases for --only/--exclude#102
hyldmo merged 1 commit into
mainfrom
hyldmo/config-process-filter

Conversation

@hyldmo
Copy link
Copy Markdown
Owner

@hyldmo hyldmo commented Apr 16, 2026

Summary

  • Adds -o as short alias for --only and -x for --exclude to reduce typing when filtering processes
  • Fixes repeated flag accumulation so -o api -o web merges into a flat array (previously nested arrays)
  • README flag table updated

Test plan

  • Parser tests: -o, -x, repeated flags, mixed short/long, coexistence
  • Integration tests: -o filters with transitive deps, repeated -o merges end-to-end
  • Full suite passes (646 tests)
  • Typecheck clean

🤖 Generated with Claude Code

Adds `-o` as short form for `--only` and `-x` for `--exclude` to reduce
typing when filtering processes. Also fixes repeated flag accumulation
so `-o api -o web` correctly merges into a flat array.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@hyldmo hyldmo merged commit 486963a into main Apr 16, 2026
2 checks passed
@hyldmo hyldmo deleted the hyldmo/config-process-filter branch April 16, 2026 13:38
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 2.13.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant