Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat extract subtree #252

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Feat extract subtree #252

wants to merge 3 commits into from

Conversation

abraemer
Copy link
Contributor

@abraemer abraemer commented Mar 20, 2025

Summary of changes

This PR introduces a new subcommand: opossum-file extract-subtree OPOSSUMFILE SUBPATH which creates a new opossum file containing all children of the given path.

How the change can be tested

Take your favorite .opossum file and extract a subtree from within it.
Or try: uv run opossum-file extract-subtree tests/data/opossum_input.opossum Frontend/Components

Closes #234

* given an opossum-file and a path to a folder inside its file structure, create a new opossum file containing all children of the subpath
@abraemer abraemer force-pushed the feat-extract-subtree branch from 71cf944 to 4e679b8 Compare March 20, 2025 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extract sub-tree from opossum-ui file
1 participant