-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Description
Problem
When using wtp add to create a new worktree, the current output shows the cd guidance before executing hooks. When hooks take a long time to execute, I often forget the worktree name I specified and have to scroll up to find it.
Proposed Solution
Change the output order so that the cd guidance is displayed after hooks execution completes, instead of before.
Current behavior:
Created worktree at: /path/to/worktree
To navigate: wtp cd /path/to/worktree
[... long hook execution ...]
Desired behavior:
Created worktree at: /path/to/worktree
[... long hook execution ...]
To navigate: wtp cd /path/to/worktree
Benefits
- Users can immediately see which worktree to navigate to without scrolling up
- Improves UX especially when hooks take significant time to complete
- The most relevant information appears at the most relevant time (right when you're ready to use it)
Additional Note
I'd be happy to submit a PR for this if you're open to it!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels