-
-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Labels
improvementNot a bug but an improvement to overall user experienceNot a bug but an improvement to overall user experience
Description
We can show dependencies for a brick by giving a brick name to the deps command:
poly deps brick:git
used by < git > uses
------------- ----
change sh
command util
creator
workspace-clj
ws-file
Sometimes we are interested in showing from which namespace a call is made and/or which functions that are called.
A solution could be to also pass in :fn and list all the function calls:
poly deps brick:git :fn
git uses
------------------------------------------------
git.core > sh.interface/execute-ignore-exception
git.core > sh.interface/execute-with-return
git.tag > sh.interfrace/execute
git.tag > util.interface.str/skip-until
git.tag > util.interface.str/take-until)
git is used by
----------------------------------------------------------------------------
change.core > git.interface/diff
change.core > git.interface/diff-command
change.core > git.interface/is-git-repo?
change.core > git.interface/sha
command.cmd-validator.create.cmd-validator.core > git.interface/is-git-repo?
creator.brick > git.interface/add
creator.project > git.interface/add
creator.workspace > git.interface/current-branch
creator.workspace > git.interface/init
creator.workspace > git.interface/is-git-repo?
creator.workspace > git.interface/latest-polylith-sha
creator.workspace-test (t) > git.interface/latest-polylith-sha
workspace-clj.core > git.interface/current-branch
workspace-clj.core > git.interface/git-branch
workspace-clj.core > git.interface/is-git-repo?
workspace-clj.core > git.interface/latest-polylith-sha
workspace-clj.core > git.interface/repo
workspace-clj.core > git.interface/root-dir
workspace-clj.core > git.interface/sha
ws-file.from-1-to-2 > git/branch
ws-file.from-1-to-2 > git/repo
If passing in :project we should show which concrete component that is called.
If the brick is not given, we should list all calls for the entire workspace.
It should be possible to extend this functionality to also list library calls.
Metadata
Metadata
Assignees
Labels
improvementNot a bug but an improvement to overall user experienceNot a bug but an improvement to overall user experience