init: accept unambiguous app path and basename aliases for --app
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- typescript
- Domain
- cli
Research direction
Start by locating the init command's existing --app selection logic and its tests. Trace how discovered app names and paths are compared, then cover exact-name precedence, normalized full paths, unique basenames, nested paths, and duplicate-basename errors. Done means ambiguous matches list all matching paths and matching remains limited to discovered apps.
Written by the indexing model from the issue text.
Description
Problem
Non-interactive monorepo selection can require the exact discovered display name. Common inputs such as --app apps/api or --app api fail when the discovered name differs, even when the target is unambiguous.
This behavior was bundled into draft PR #1418, but it is independent from existing-Sentry detection and should be handled separately.
Expected behavior
- Prefer an exact app name or exact normalized full path.
- Accept a unique path basename as an alias.
- If a basename matches multiple apps, fail and list the matching paths instead of choosing one.
- Keep path matching scoped to the discovered apps.
- Cover nested paths, duplicate basenames, and exact-match precedence in tests.
- Dominant language
- TypeScript
- Stars
- 121
- Forks
- 14
- Avg merge
- 22h 3m
- Merged PRs (30d)
- 94
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from getsentry/cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
-
bug jared
-
jared
Difficulty 4/5 3-5 days Newbie friendliness 52/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·