Add '--installed' flag to `deps` command #18276

Closed
wants to merge 1 commit into
from

2 participants

@int3h

I added the flag --installed to the 'brew deps' command. Executing the command brew deps --installed will only show the dependencies for the installed forumas. This flag overrides the --all flag.

This also has the nice side effect of allowing the graph command to also accept the --installed flag, so brew graph --installed will give you a nice Graphviz graph of the formulas installed on your system. It can be an alternative to brew leaves for understanding what packages can safely be removed.

@int3h int3h Added '--installed' option to `deps` command.
When deps command is passed this option, it will only show the dependencies for the installed forumas. This option overrides the '--all' option.
e23eb6e
@adamv

I like it.

@adamv adamv added a commit that closed this pull request Mar 6, 2013
@int3h int3h Added '--installed' option to `deps` command.
When deps command is passed this option, it will only show the dependencies
for the installed forumas. This option overrides the '--all' option.

Closes #18276.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
8488301
@adamv adamv closed this in 8488301 Mar 6, 2013
@Sharpie Sharpie pushed a commit to Sharpie/homebrew that referenced this pull request Apr 7, 2013
@int3h int3h Added '--installed' option to `deps` command.
When deps command is passed this option, it will only show the dependencies
for the installed forumas. This option overrides the '--all' option.

Closes #18276.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
36a4c3b
@nesv nesv added a commit to nesv/homebrew that referenced this pull request Apr 12, 2013
@int3h int3h Added '--installed' option to `deps` command.
When deps command is passed this option, it will only show the dependencies
for the installed forumas. This option overrides the '--all' option.

Closes #18276.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
5a1c91c
@rajeeja rajeeja pushed a commit that referenced this pull request Apr 19, 2013
@int3h int3h Added '--installed' option to `deps` command.
When deps command is passed this option, it will only show the dependencies
for the installed forumas. This option overrides the '--all' option.

Closes #18276.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
cc17738
@shelhamer shelhamer added a commit that referenced this pull request Apr 18, 2014
@int3h int3h Added '--installed' option to `deps` command.
When deps command is passed this option, it will only show the dependencies
for the installed forumas. This option overrides the '--all' option.

Closes #18276.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
c56db20
@xu-cheng xu-cheng locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.