nushell-prophet / numd

numd - reproducible Nushell Markdown documents
The Unlicense
14 stars 0 forks source link

Make the `numd` output blocks appear immediately after execution #30

Closed maxim-uvarov closed 1 month ago

maxim-uvarov commented 3 months ago

Now we have to wait for executing the whole intermediate script and capturing its output. It would be cool if there were a way to output the results together with corresponding text chunks as they are executed.

maxim-uvarov commented 3 months ago

Maybe, instead of printing results to stdout, and collecting them from complete at the end we could save them to yaml files? Like:

command: ls
output: |-
  some output

But this way we can't capture the printed info results by commands. Maybe it isn't important?

Or we will use both ways. Save them to yaml for displaying during execution and capture results complete in the end.