Skip to content

Add a show command that summarises a parsed stack definition #159

@ncoghlan

Description

@ncoghlan

While the stack definition format is relatively readable, it is presenting a directed acyclic graph as a flat list. This makes it entirely plausible that a complex stack may end up containing dependency errors that aren't obvious when reading the list, but would potentially be much clearer when listing each defined layer with a tree below it reflecting that layer's linearised dependency list.

The other key benefit of adding such a command is that it would provide a way to add cheaper end-to-end test cases of the layer selection logic (and we recently hit a problem in typer/click that showed the lack of end to end testing in the command line parsing can allow cross-platform compatibility issues to go undetected by the test suite)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions