apainintheneck cb64bc4df3 Move pkg type logic into search_name
Now the search_name method takes the command line
args and only returns package types that line up
with those args.

That means it will only return casks if casks are valid
and same with formulae.
2022-12-13 22:50:00 -08:00
..
2022-12-04 23:02:44 -08:00
2022-12-13 22:50:00 -08:00
2022-08-23 11:25:02 +01:00
2022-12-01 00:17:04 +00:00
2022-11-30 03:50:38 +00:00
2022-12-08 18:13:09 +00:00
2022-10-24 19:42:49 +01:00
2022-12-08 18:07:02 +00:00
2022-12-04 20:07:31 -08:00
2022-11-24 22:15:03 +08:00
2022-11-11 16:16:54 -05:00
2022-11-23 20:38:40 -08:00
2022-08-23 12:42:02 +01:00
2022-06-30 08:56:21 +01:00
2022-11-10 07:33:52 -08:00
2022-08-23 12:42:02 +01:00
2022-09-11 22:10:37 -05:00
2022-11-06 22:50:07 -05:00
2022-08-05 17:12:55 -04:00
2022-06-29 11:34:49 -04:00
2022-11-08 21:11:10 +09:00
2022-08-13 23:30:20 -10:00
2022-11-06 22:50:07 -05:00
2022-11-23 20:39:59 -08:00
2022-12-13 22:50:00 -08:00
2022-11-09 17:29:38 +00:00
2022-09-14 22:23:01 -04:00
2022-11-09 14:45:43 +00:00
2022-09-08 01:44:31 +01:00

Homebrew Ruby API

This is the API for Homebrew.

The main class you should look at is the {Formula} class (and classes linked from there). That's the class that's used to create Homebrew formulae (i.e. package descriptions). Assume anything else you stumble upon is private.

You may also find the Formula Cookbook and Ruby Style Guide helpful in creating formulae.

Good luck!