OceanSprint / tesh

TEstable SHell sessions in Markdown

Home Page:https://pypi.org/project/tesh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Capture dynamic output

noteed opened this issue · comments

In #8 it is suggested that some specific output could be ignored when attempting to match an expected output, by using some kind of patterns.

This could be extended so that it would be possible to name those patterns, and the captured values could be re-used later in the shell session.

For instance:

$ docker build .
...
Successfully built [IMAGE-ID]

$ docker run [$IMAGE-ID]