10 Commits

Author SHA1 Message Date
Gautham Goli
fba52e2f74 cli_parser: Store parsed args in Homebrew.args and access args everywhere else 2018-05-30 00:05:39 +05:30
Gautham Goli
0d53002dbc cli_parser: Add depends and conflicts for switch options 2018-05-25 04:05:45 +05:30
Gautham Goli
07ee23d711 cli_parser: Refactor interface for depends, conflicts and add tests 2018-04-30 15:47:13 +05:30
Gautham Goli
36c1ad9f64 cli_parser: Add depends, conflicts option constraints 2018-04-14 21:44:47 +05:30
Gautham Goli
48aecf2fa7 cli_parser: Refactor required argument for flag to '=' 2018-04-14 19:04:24 +05:30
Gautham Goli
d22b750e17 Store common switch as Homebrew.args global var 2018-04-10 00:00:35 +05:30
Gautham Goli
8ef1fb30a0 Add :quiet, :verbose, :debug common switches to be specified 2018-03-29 03:20:14 +05:30
Mike McQuaid
5e1806e796 test: rubocop-rspec style auto-corrects.
There’s too many warnings to start enabling `rubocop-rspec` by default
but let’s at least apply the cleanups it does automatically.
2018-03-25 13:30:37 +01:00
Gautham Goli
99438e8e44 Parser: Add env named argument for switch to check environment variables 2018-03-25 11:04:18 +05:30
Gautham Goli
5743f22209 cli : Implement Parser and use it for parsing audit command args 2018-03-09 02:44:50 +05:30