Skip to content

Alias bare annotate targets in the CLI#944

Open
backnotprop wants to merge 1 commit into
mainfrom
feat/cli-alias
Open

Alias bare annotate targets in the CLI#944
backnotprop wants to merge 1 commit into
mainfrom
feat/cli-alias

Conversation

@backnotprop

Copy link
Copy Markdown
Owner

Summary

  • route bare annotatable CLI targets through the existing plannotator annotate path
  • preserve reserved top-level commands and internal opencode/copilot bridge commands
  • cover shorthand routing, flag preservation, bare invocation, and typo-command behavior

Tests

  • tmp_config=$(mktemp /tmp/plannotator-empty-bunfig.XXXXXX); bun --config="$tmp_config" test apps/hook/server/cli.test.ts packages/shared/annotate-args.test.ts packages/shared/review-args.test.ts; exit_code=$?; rm -f "$tmp_config"; exit $exit_code
  • git diff --check

Note: the empty Bun config bypasses the repo-wide happy-dom preload because this local workspace is missing @happy-dom/global-registrator.

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