nushell/crates/nu-command/src/formats/to
Reilly Wood 9364bad625
Make to text stream ListStreams (#7577)
This PR changes `to text` so that when given a `ListStream`, it streams
the incoming values instead of collecting them all first.

The easiest way to observe/verify this PR is to convert a list to a very
slow `ListStream` with `each`:
```bash
ls | get name | each {|n| sleep 1sec; $n} | to text
```
The `to text` output will appear 1 item at a time.
2022-12-22 16:38:07 -08:00
..
command.rs Add more input/output type annotations (#7532) 2022-12-21 20:20:46 +01:00
csv.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
delimited.rs Fix to csv and to tsv for simple list, close: #4780 (#5483) 2022-05-09 06:14:42 -05:00
html.rs to html --list now returns a table (#7080) 2022-11-15 11:12:56 -06:00
json.rs Split blocks and closures (#7075) 2022-11-10 21:21:49 +13:00
md.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
mod.rs sometimes you want a text output (#5441) 2022-05-04 14:12:23 -05:00
nuon.rs Fix && quotation in to nuon after proptest fail (#7564) 2022-12-22 00:36:07 +01:00
text.rs Make to text stream ListStreams (#7577) 2022-12-22 16:38:07 -08:00
toml.rs chore: chrono_update (#7132) 2022-11-27 07:19:02 +13:00
tsv.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
url.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
xml.rs couple minor updates to xml deps (#7311) 2022-12-02 08:25:13 +13:00
yaml.rs Split blocks and closures (#7075) 2022-11-10 21:21:49 +13:00