shell-pool / shell-pool/shpool
Feature Request: `shpool attach` with no args? Pick the most recent un-attached session
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2k
- Forks
- 67
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 15
Description
The idea for this convenience feature is taken from tmux: it'd be nice to be able to simply shpool attach (or better yet, shpool a) when there's 1+ unattached sessions and have shpool just pick one to attach to automatically.
Contributor guide
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.
Research direction
Start at the CLI entry point for shpool attach and inspect how existing sessions are listed and selected. Implement the no-argument behavior, including the shorter shpool a form, so it chooses the most recent unattached session when one or more exist. Done means both invocation forms attach to the selected session without requiring a session name.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100