| 
									
										
										
										
											2024-09-13 12:22:52 -07:00
										 |  |  | # typed: strict | 
					
						
							|  |  |  | # frozen_string_literal: true | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-09-18 15:33:49 -07:00
										 |  |  | module OS | 
					
						
							|  |  |  |   module Linux | 
					
						
							|  |  |  |     module CLI | 
					
						
							|  |  |  |       module Parser | 
					
						
							|  |  |  |         extend T::Helpers | 
					
						
							| 
									
										
										
										
											2024-09-13 12:22:52 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-09-18 15:33:49 -07:00
										 |  |  |         requires_ancestor { Homebrew::CLI::Parser } | 
					
						
							| 
									
										
										
										
											2024-09-13 12:22:52 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-12-06 14:14:02 -08:00
										 |  |  |         sig { void } | 
					
						
							|  |  |  |         def set_default_options | 
					
						
							| 
									
										
										
										
											2024-11-23 21:03:29 +00:00
										 |  |  |           return if args.only_formula_or_cask == :cask | 
					
						
							| 
									
										
										
										
											2024-12-06 14:14:02 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-11-23 21:03:29 +00:00
										 |  |  |           args.set_arg(:formula?, true) | 
					
						
							| 
									
										
										
										
											2024-09-13 12:22:52 -07:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |     end | 
					
						
							|  |  |  |   end | 
					
						
							|  |  |  | end | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-09-18 15:33:49 -07:00
										 |  |  | Homebrew::CLI::Parser.prepend(OS::Linux::CLI::Parser) |