jay7x / jay7x/puppetbolt-pty

Return `yield` result from `pty::spawn()`

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Ruby
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

There is no way atm to get anything from the `pty::spawn()` block. Though sometimes it'd be nice to pass something to the calling scope. Easiest way is to return `Any` type. Maybe a bit better way is to return `Bolt::Result` type.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the pty::spawn() implementation and how it handles the block result. Compare the proposed Any and Bolt::Result return shapes with the existing project conventions, then define the expected calling-scope behavior and verify it with the relevant tests or a focused reproduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.