Azure / Azure/InnovationEngine

Improved handling of expected vs actual outputs of a command in Interactive Mode

Open
#250 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
40
Forks
27
Avg merge
2d 20h
Merged PRs (30d)
1

Description

Currently, in interactive mode, the user is presented with the content ahead of the next command block, it then pauses, waiting for the user to execute the command. Once executed it moves directly to the next command block.

This means that the following undesirable effects are present:

* The user is not shown, in advance, what the command is expected to do
* The actual output of the command is never shown to the user
* Any descriptive text between the executable code block and the results is never displayed

This behaviour can be observed in the `docs/README.md` file.

## Proposed Solution

1. Display all content up to and including the results block if one exists, or the next heading if no results block exists
2. Display the output in the output section and ask the user to interact to advance (spacebar, e or right arrow)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.