Skip to content

Add a helper function in ioutil to PrintObjectAsTree #545

@byronchien

Description

@byronchien

What is the areas you would like to add the new feature to?

Notation CLI

Is your feature request related to a problem?

We print objects as tree in different commands (like for notation list and notation inspect). Would be nice to have a helper function to reuse for this functionality.

What solution do you propose?

Add a helper function to ioutil similar to PrintObjectAsJSON but to print objects as trees.

What alternatives have you considered?

Currently the tree printing logic is implemented separately in each command. We can either implement a general helper in ioutil or take on a new dependency package.

Any additional context?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions