Skip to content
This repository was archived by the owner on Dec 19, 2020. It is now read-only.
This repository was archived by the owner on Dec 19, 2020. It is now read-only.

Optionally limit 'wit inspect' to subtrees #232

@nategraff-sifive

Description

When inspecting the dependency graph of a workspace, it would be helpful to limit the scope of the inspect command to the subtree under certain packages:

usage: wit inspect [-h] [--tree | --dot] [PACKAGE [PACKAGE [...]]]

optional arguments:
  -h, --help  show this help message and exit
  --tree
  --dot
  PACKAGE     Limit to the subtree under the given package(s)

For example:

workspace/
  a/
  b/
  c/
$ wit inspect --tree
└─a::abcdef0
   ├─b::e9e997a9
   │  └─c::2232f4
   └─c::2232f4
$ wit inspect --tree b
└─b::e9e997a9
   └─c::2232f4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions