Add named_args DSL for commands

This commit is contained in:
Rylan Polster
2021-01-13 17:09:42 -05:00
parent 701989968d
commit da811373d3
84 changed files with 229 additions and 75 deletions
@@ -34,7 +34,7 @@ module Homebrew
comma_array "--exclude-packages=",
description: "Exclude these packages when finding resources."
min_named :formula
named_args :formula, number: 1
end
end