manifoldco / promptui

Interactive prompt for command-line applications
https://www.manifold.co
BSD 3-Clause "New" or "Revised" License
6.03k stars 333 forks source link

Make stdio configurable #112

Closed jyggen closed 4 years ago

jyggen commented 4 years ago

This PR allows stdout and stdin of Select to be configured in similar fashion to Prompt, useful when you want to output to, for example, osStderr instead.

CLAassistant commented 4 years ago

CLA assistant check
All committers have signed the CLA.

codecov[bot] commented 4 years ago

Codecov Report

Merging #112 into master will decrease coverage by 0.04%. The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #112      +/-   ##
==========================================
- Coverage    30.5%   30.45%   -0.05%     
==========================================
  Files           6        6              
  Lines         695      696       +1     
==========================================
  Hits          212      212              
- Misses        462      463       +1     
  Partials       21       21
Impacted Files Coverage Δ
select.go 17.24% <0%> (-0.07%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 748542e...868166a. Read the comment docs.