Introducing a new command: poly deps 👈 👉 #176
DavidVujic
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The Poetry plugin and the standalone CLI now has support for a new command called
poly deps
.The command can be used for a bricks overview of the workspace, or for an individual project (by appending the
--directory
option, just as with the other commands). A "deps" view can help developers anticipate usages, and could be an inspiration to think about how to refactor code: is there a need to separate or merge the bricks in the Polylith workspace?There is also a
--brick
option added. It will visualize the dependencies for an individual brick: from where it is used, and what bricks it uses.Example
A brick dependency overview for a project. In this specific project there is one brick called
hatch
. Thehatch
brick is using theparsing
,repo
andtoml
bricks (yes, the bricks in this example are from the Polylith tool itself).Also, the brick dependencies for an individual brick (the
toml
brick in the screenshot).Beta Was this translation helpful? Give feedback.
All reactions