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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions