EricFromCanada eb16624c5f manpage: reformat lists of subcommands & env vars
Modify parser.rb to add a colon between each term and the line break, which `ronn` converts into a definition list.
The <br> that follows ensures each term description is on a new line in the manpage output, and also replaces the
double trailing space for generating the hard return that follows each term in the HTML output.
Also modify man.rb to print environment variables with list markup matching the cask commands, and then drop
trailing colons from both lists of terms (cask commands, env vars) and non-list terms (analytics, bundle, services;
a <br> is added here because it would prevent the term description from being indented in the manpage output).
https://docs.brew.sh/Manpage#cask-command-options-cask
2020-11-16 07:56:50 -05:00
..
2020-11-13 13:58:52 -05:00
2020-10-10 14:59:39 +02:00
2020-11-16 02:02:52 +01:00
2020-11-13 12:26:36 +01:00
2020-11-13 12:26:36 +01:00
2020-11-16 02:05:29 +01:00
2020-11-12 17:06:47 +00:00
2020-11-13 12:26:36 +01:00
2020-11-13 12:26:36 +01:00
2020-11-16 02:03:45 +01:00
2020-11-13 12:26:36 +01:00
2020-11-12 17:06:47 +00:00
2020-10-11 00:30:09 +02:00
2020-09-11 10:29:22 +01:00
2020-11-13 12:26:36 +01:00
2020-10-12 09:23:49 +01:00
2020-11-16 02:05:29 +01:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-10-10 14:59:39 +02:00
2020-11-16 02:05:29 +01:00
2020-10-10 14:59:39 +02:00
2020-11-11 08:52:55 +01:00
2020-11-13 12:26:36 +01:00
2020-10-10 14:59:39 +02:00
2020-11-13 12:26:36 +01:00
2020-11-13 12:26:36 +01:00
2020-11-13 12:26:36 +01:00
2020-11-13 12:26:36 +01:00
2020-11-16 02:05:29 +01:00
2020-11-13 12:26:36 +01:00
2020-11-13 12:26:36 +01:00
2020-10-10 14:59:39 +02:00
2020-11-13 12:26:36 +01:00
2020-11-16 02:05:29 +01:00
2020-11-13 12:26:36 +01:00
2020-11-16 02:05:29 +01:00
2020-11-13 12:26:36 +01:00
2020-10-09 16:45:13 +02:00
2020-11-12 17:06:47 +00:00
2020-11-13 12:26:36 +01:00
2020-10-10 14:59:39 +02:00
2020-11-16 02:05:29 +01:00
2020-11-13 12:26:36 +01:00
2020-10-10 14:59:39 +02:00
2020-11-13 12:26:36 +01:00
2020-10-10 14:59:39 +02:00
2020-11-13 12:26:36 +01:00
2020-11-05 23:50:55 -05:00
2020-11-13 12:26:36 +01:00
2020-11-13 12:26:36 +01:00
2020-11-13 12:26:36 +01:00
2020-10-10 14:59:39 +02:00
2020-11-13 12:26:36 +01:00
2020-11-16 02:05:29 +01:00
2020-10-10 14:59:39 +02:00
2020-11-05 23:50:55 -05:00
2020-10-10 14:59:39 +02:00
2020-11-13 12:26:36 +01:00
2020-11-13 12:26:36 +01:00
2020-11-13 12:26:36 +01:00
2020-11-13 12:26:36 +01:00
2020-11-13 12:26:36 +01:00
2020-11-13 12:26:36 +01:00
2020-11-13 12:26:36 +01:00
2020-11-13 12:26:36 +01:00
2020-11-13 12:26:36 +01:00
2020-11-13 12:26:36 +01:00
2020-10-10 14:59:39 +02:00
2020-11-04 18:53:03 -05:00
2020-11-05 00:53:12 -05:00
2020-11-16 02:02:52 +01:00
2020-11-13 12:26:36 +01:00
2020-11-16 02:05:29 +01:00

Homebrew's Formula API

This is the public 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!