Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							0add431e69 
							
						 
					 
					
						
						
							
							Apply manual violation fixes  
						
						
						
						
					 
					
						2025-01-12 10:06:00 -08:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							dbb731bce2 
							
						 
					 
					
						
						
							
							brew style --fix  
						
						
						
						
					 
					
						2025-01-12 10:05:21 -08:00 
						 
				 
			
				
					
						
							
							
								Andreas Scherer 
							
						 
					 
					
						
						
						
						
							
						
						
							02560c9f1a 
							
						 
					 
					
						
						
							
							Sort list of '--version'ed casks.  
						
						... 
						
						
						
						'brew list --cask --version' produces an unsorted list.
Also, the cask part of 'brew list --version' is unsorted, while the
formulas are (still) sorted. 
						
						
					 
					
						2024-12-24 14:02:16 +01:00 
						 
				 
			
				
					
						
							
							
								“Vidisha 
							
						 
					 
					
						
						
						
						
							
						
						
							4403280211 
							
						 
					 
					
						
						
							
							cmd/list: fix duplicate casks when symlinks exist  
						
						... 
						
						
						
						When a cask is renamed (e.g. logi-options-plus to logi-options+),
Homebrew creates a symlink in the Caskroom directory. Currently,
`brew list --cask` shows both the original and symlinked cask as
separate entries. This patch modifies the listing logic to resolve
symlinks and show only unique casks.
Fixes  #18849  
						
						
					 
					
						2024-12-16 22:20:29 -08:00 
						 
				 
			
				
					
						
							
							
								Ruoyu Zhong 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a50e15e43c 
							
						 
					 
					
						
						
							
							cmd/list: support using --full-name with --installed-on-request et al.  
						
						... 
						
						
						
						Fixes https://github.com/Homebrew/brew/issues/18908#issuecomment-2532926860 . 
						
						
					 
					
						2024-12-11 11:27:08 +08:00 
						 
				 
			
				
					
						
							
							
								Michael Cho 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4c60dc0b2c 
							
						 
					 
					
						
						
							
							cmd/list: -t and -r support for some long options  
						
						
						
						
					 
					
						2024-09-26 20:01:44 -04:00 
						 
				 
			
				
					
						
							
							
								fn ⌃ ⌥ 
							
						 
					 
					
						
						
						
						
							
						
						
							6287607ac5 
							
						 
					 
					
						
						
							
							cmd/list: add --poured-from-bottle and --built-from-source  
						
						
						
						
					 
					
						2024-08-22 21:26:16 -07:00 
						 
				 
			
				
					
						
							
							
								Issy Long 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							686b5afa05 
							
						 
					 
					
						
						
							
							cmd/list: Bump to Sorbet typed: strict  
						
						
						
						
					 
					
						2024-08-10 23:55:13 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							617a8d1627 
							
						 
					 
					
						
						
							
							cmd/list: fix exit code when supplied both a cask and formula  
						
						
						
						
					 
					
						2024-06-11 03:31:05 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4d12dafeb7 
							
						 
					 
					
						
						
							
							Revert "cmd/list: fix exit codes."  
						
						... 
						
						
						
						This reverts commit cec4e3fcb7ec15efa30d3d76dd910ff98dc5e890. 
						
						
					 
					
						2024-06-11 03:20:09 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cec4e3fcb7 
							
						 
					 
					
						
						
							
							cmd/list: fix exit codes.  
						
						... 
						
						
						
						Fix exit codes when providing formulae and casks.
Fixes  #17434  
						
						
					 
					
						2024-06-06 19:34:17 +01:00 
						 
				 
			
				
					
						
							
							
								Ruoyu Zhong 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ba85f92df2 
							
						 
					 
					
						
						
							
							cmd/list: update switches and logic  
						
						
						
						
					 
					
						2024-04-23 15:55:06 +08:00 
						 
				 
			
				
					
						
							
							
								Ruoyu Zhong 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7cf6cb2624 
							
						 
					 
					
						
						
							
							cmd/list: tweak wording  
						
						
						
						
					 
					
						2024-04-23 15:51:16 +08:00 
						 
				 
			
				
					
						
							
							
								Ruoyu Zhong 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a1a0cbbf0a 
							
						 
					 
					
						
						
							
							cmd/list: update description for --installed-as-dependency  
						
						... 
						
						
						
						Co-authored-by: Kevin <apainintheneck@gmail.com> 
						
						
					 
					
						2024-04-23 15:41:11 +08:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2b09fcd6e4 
							
						 
					 
					
						
						
							
							cmd/list: more consistent switches.  
						
						
						
						
					 
					
						2024-04-23 08:35:10 +01:00 
						 
				 
			
				
					
						
							
							
								Ruoyu Zhong 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							868c15fe4f 
							
						 
					 
					
						
						
							
							cmd/list: support listing formulae installed on request or automatically  
						
						... 
						
						
						
						Sample usage:
    $ brew ls --manual
    gcc
    llvm
    [...]
    $ brew ls --auto
    grpc
    protobuf
    [...]
    $ brew ls --manual --auto
    gcc: manual
    grpc: auto
    llvm: manual
    protobuf: auto
    [...]
Resolves  #17117 . 
						
						
					 
					
						2024-04-22 12:00:22 +08:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							aad08cd5a4 
							
						 
					 
					
						
						
							
							Revert using hash accessors for args  
						
						
						
						
					 
					
						2024-03-15 12:51:03 -07:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							7c7444c2a5 
							
						 
					 
					
						
						
							
							No longer need to thread args  
						
						
						
						
					 
					
						2024-03-15 12:46:06 -07:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							96fc8bf66b 
							
						 
					 
					
						
						
							
							bracket access over public_send  
						
						
						
						
					 
					
						2024-03-15 12:46:05 -07:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							fd652148fa 
							
						 
					 
					
						
						
							
							Implement cmd_args block  
						
						
						
						
					 
					
						2024-03-15 12:46:05 -07:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							cbcb221de6 
							
						 
					 
					
						
						
							
							Create AbstractCommand class  
						
						
						
						
					 
					
						2024-03-15 12:46:05 -07:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ea2892f8ee 
							
						 
					 
					
						
						
							
							brew.rb: handle missing args.  
						
						
						
						
					 
					
						2024-03-07 16:20:20 +00:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							8156c5d140 
							
						 
					 
					
						
						
							
							Audit remaining commands  
						
						
						
						
					 
					
						2024-01-31 20:02:33 -08:00 
						 
				 
			
				
					
						
							
							
								Eric Knibbe 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4662678b3b 
							
						 
					 
					
						
						
							
							cmd+dev-cmd: adjust description line breaks  
						
						... 
						
						
						
						Use to distinguish additional notes from initial explanation and usage info 
						
						
					 
					
						2023-09-11 02:29:21 -04:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							08af78a2a5 
							
						 
					 
					
						
						
							
							brew style --fix  
						
						
						
						
					 
					
						2023-04-25 09:26:24 -07:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							24cf6076e8 
							
						 
					 
					
						
						
							
							brew style --fix  
						
						
						
						
					 
					
						2023-04-24 20:42:39 -07:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							d56e2884aa 
							
						 
					 
					
						
						
							
							Enable typing in cmd/  
						
						
						
						
					 
					
						2023-03-06 15:01:08 -08:00 
						 
				 
			
				
					
						
							
							
								hyuraku 
							
						 
					 
					
						
						
						
						
							
						
						
							e39232313f 
							
						 
					 
					
						
						
							
							move cask/cmd/list to cask/list  
						
						
						
						
					 
					
						2023-03-02 21:53:15 +09:00 
						 
				 
			
				
					
						
							
							
								apainintheneck 
							
						 
					 
					
						
						
						
						
							
						
						
							353fe2d322 
							
						 
					 
					
						
						
							
							Update brew ls to work when the cellar doesn't exist  
						
						
						
						
					 
					
						2022-08-13 12:21:14 -07:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2d5eab2e1c 
							
						 
					 
					
						
						
							
							brew style --fix  
						
						
						
						
					 
					
						2022-06-30 08:56:21 +01:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8a7f082b30 
							
						 
					 
					
						
						
							
							list: output only if installed casks are passed  
						
						... 
						
						
						
						Fixes  #13139 . 
					
						2022-04-13 10:50:50 -04:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							61976e0672 
							
						 
					 
					
						
						
							
							caskroom: add, use any_casks_installed?.  
						
						... 
						
						
						
						Add a new method for the two places we're checking if we have any
casks installed. This is much more performance and user friendly than
attempting to load every cask.
Fixes  #13027  
						
						
					 
					
						2022-03-30 17:25:00 +01:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0850fcb24a 
							
						 
					 
					
						
						
							
							list: support long and verbose version listing for casks  
						
						
						
						
					 
					
						2022-03-28 11:06:57 -04:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							38e1b3d64b 
							
						 
					 
					
						
						
							
							Deprecations, disables, deletions for 3.4.0  
						
						
						
						
					 
					
						2022-02-22 14:28:32 +00:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6e0e96eb1d 
							
						 
					 
					
						
						
							
							list: raise NoSuchKegError if formula exists but isn't installed  
						
						
						
						
					 
					
						2021-11-11 17:40:32 -05:00 
						 
				 
			
				
					
						
							
							
								hyuraku 
							
						 
					 
					
						
						
						
						
							
						
						
							d1c9b9db3f 
							
						 
					 
					
						
						
							
							rename variables  
						
						
						
						
					 
					
						2021-09-11 16:05:01 +09:00 
						 
				 
			
				
					
						
							
							
								hyuraku 
							
						 
					 
					
						
						
						
						
							
						
						
							e8c26e2da9 
							
						 
					 
					
						
						
							
							use keyword argument  
						
						
						
						
					 
					
						2021-09-10 21:06:37 +09:00 
						 
				 
			
				
					
						
							
							
								hyuraku 
							
						 
					 
					
						
						
						
						
							
						
						
							2347bfdb92 
							
						 
					 
					
						
						
							
							use default_kegs  
						
						
						
						
					 
					
						2021-09-09 22:16:45 +09:00 
						 
				 
			
				
					
						
							
							
								hyuraku 
							
						 
					 
					
						
						
						
						
							
						
						
							a9b275d757 
							
						 
					 
					
						
						
							
							brew list shows cask without option  
						
						
						
						
					 
					
						2021-09-08 22:53:27 +09:00 
						 
				 
			
				
					
						
							
							
								Nanda H Krishna 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							47a549e944 
							
						 
					 
					
						
						
							
							Fix style using brew style --fix  
						
						
						
						
					 
					
						2021-06-02 11:43:16 +05:30 
						 
				 
			
				
					
						
							
							
								Connor Mann 
							
						 
					 
					
						
						
						
						
							
						
						
							3637924230 
							
						 
					 
					
						
						
							
							Fix style  
						
						
						
						
					 
					
						2021-05-19 13:58:19 -04:00 
						 
				 
			
				
					
						
							
							
								Connor Mann 
							
						 
					 
					
						
						
						
						
							
						
						
							fe9a9bb24c 
							
						 
					 
					
						
						
							
							Rename to_keg to to_default_kegs  
						
						
						
						
					 
					
						2021-05-19 09:34:18 -04:00 
						 
				 
			
				
					
						
							
							
								Connor Mann 
							
						 
					 
					
						
						
						
						
							
						
						
							d46881c5e2 
							
						 
					 
					
						
						
							
							Rename to_kegs to to_keg  
						
						
						
						
					 
					
						2021-05-18 09:52:19 -04:00 
						 
				 
			
				
					
						
							
							
								Carlo Cabrera 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a3a6af9d99 
							
						 
					 
					
						
						
							
							cmd/list: remove cask and ls flag conflicts  
						
						
						
						
					 
					
						2021-03-27 01:20:21 +00:00 
						 
				 
			
				
					
						
							
							
								Carlo Cabrera 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e966808ac6 
							
						 
					 
					
						
						
							
							cmd/list: always use ls when no named args are passed  
						
						... 
						
						
						
						This has the added benefit of making the indentation in the output of
`brew list` uniform between formulae and casks.
Follow-up to #10899 . See, in particular,
    https://github.com/Homebrew/brew/pull/10899#discussion_r598659321  
						
						
					 
					
						2021-03-27 01:20:20 +00:00 
						 
				 
			
				
					
						
							
							
								Carlo Cabrera 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e1385b0754 
							
						 
					 
					
						
						
							
							Merge pull request  #10899  from carlocab/ls-delineate  
						
						... 
						
						
						
						cmd/list: delineate formulae and casks 
						
						
					 
					
						2021-03-25 17:52:41 +00:00 
						 
				 
			
				
					
						
							
							
								Carlo Cabrera 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4dccc2ef7f 
							
						 
					 
					
						
						
							
							cmd/list: list formulae only if one is installed  
						
						... 
						
						
						
						We need the `HOMEBREW_CELLAR.exist?` check to avoid errors in new
installations, which may not have a `Cellar` directory. 
						
						
					 
					
						2021-03-22 17:15:56 +00:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							32d532fb49 
							
						 
					 
					
						
						
							
							cmd/list: fix Cask listing  
						
						
						
						
					 
					
						2021-03-22 16:21:02 +00:00 
						 
				 
			
				
					
						
							
							
								Carlo Cabrera 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a88d65acc7 
							
						 
					 
					
						
						
							
							cmd/list: list casks only if one is installed  
						
						
						
						
					 
					
						2021-03-22 14:12:42 +00:00 
						 
				 
			
				
					
						
							
							
								Carlo Cabrera 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8538970567 
							
						 
					 
					
						
						
							
							cmd/list: delineate formulae and casks  
						
						... 
						
						
						
						Listing everything without qualifying which is which is confusing for
some users.
Fixes  #10897 . 
						
						
					 
					
						2021-03-22 13:13:04 +00:00