William Ma
91a2eb8aad
--cache: Use convenience methods for loading formulae and casks
2020-08-10 14:03:37 -04:00
Markus Reiter
8a32954940
Move cask/all
to just cask
.
2020-08-09 01:34:07 +02:00
Mike McQuaid
863a0964e2
cmd/upgrade: fix cask/formula args (again).
...
Fixes https://github.com/Homebrew/brew/issues/8228#issuecomment-670161766
2020-08-07 10:25:29 +01:00
Mike McQuaid
3875f16782
Fix --formula and --cask flags.
...
These were all made `--formulae` and `--casks` for consistency but that
doesn't behave as expected because they have special behaviours in
`args`. Instead, use the singular form everywhere.
2020-08-07 09:53:30 +01:00
Markus Reiter
6524802079
Pass remaining args to Help
.
2020-08-06 16:13:14 +02:00
Markus Reiter
490e503b1b
Replace Homebrew.args
with Context
.
2020-08-06 16:13:14 +02:00
Markus Reiter
bace9ecc34
Pass verbose?
to Formula#verify_download_integrity
.
2020-08-06 16:13:14 +02:00
Markus Reiter
6c964d4a78
Pass verbose?
to Keg#link
, Keg#unlink
and Keg#optlink
.
2020-08-06 16:12:52 +02:00
Markus Reiter
e9d8f09da1
Pass debug?
, quiet?
and verbose?
to FormulaInstaller
.
2020-08-06 16:12:52 +02:00
Mike McQuaid
99bff13cbb
cmd/tap-info: improve comma usage.
...
Broken in https://github.com/Homebrew/brew/pull/8230 .
2020-08-06 14:00:56 +01:00
Mike McQuaid
fb0a6338b1
Remove more tap pinning code.
...
This was deprecated and removed a while ago.
2020-08-06 12:24:10 +01:00
Mike McQuaid
ced084bd49
Handle casks in commands more consistently.
...
- Ensure the usage documentation always mentions casks when appropriate
- Use --formulae or --casks consistently
- Provide --formulae and --casks switches to upgrade
- Mark more switches as conflicting
2020-08-06 09:25:45 +01:00
William Ma
907d4d7f74
Add shared methods for uninstalling, reinstalling casks
2020-08-05 11:04:40 -04:00
Markus Reiter
b1ca2f7e3c
Add shared method for upgrading casks.
2020-08-05 13:55:04 +02:00
Mike McQuaid
fb0268da7e
license: handle "Public Domain".
...
Allow `:public_domain` to be used as a `license` value and ensure that
it's handled correctly by `brew info`, `brew audit` and `brew install`.
2020-08-04 10:47:41 +01:00
Mike McQuaid
9f80629f64
Merge pull request #8203 from MLH-Fellowship/add-caskroom
...
caskroom: Add --caskroom to match --cellar
2020-08-04 09:05:08 +01:00
Bo Anderson
41ada12b48
Merge pull request #8200 from Rylan12/deps-fix-args
...
deps: fix args for --installed with no formula
2020-08-03 19:50:36 +01:00
Bo Anderson
0dab255ba3
Merge pull request #8202 from Bo98/log-args
...
cmd/log: fix args error
2020-08-03 19:49:43 +01:00
Seeker
281a598685
cmd/uses: extract function intersection_of_dependents
2020-08-03 10:19:50 -07:00
William Ma
cf961caa27
caskroom: Add --caskroom command
2020-08-03 12:35:03 -04:00
Bo Anderson
7e47d1be94
cmd/log: fix args error
2020-08-03 17:30:46 +01:00
Rylan Polster
4cfd80451a
deps: fix args for --installed with no formula
2020-08-03 10:42:46 -04:00
Bo Anderson
15fba12254
Merge pull request #8197 from Bo98/list-argv
...
cmd/list: remove ARGV usage
2020-08-03 13:31:54 +01:00
Bo Anderson
25009f94e7
cmd/list: remove ARGV usage
2020-08-03 12:45:16 +01:00
Mike McQuaid
a3efb35b0e
Merge pull request #8145 from MLH-Fellowship/integrate-uses
...
uses: Print cask uses
2020-08-03 09:07:22 +01:00
Bo Anderson
a38d034c1b
Merge pull request #8184 from Bo98/outdated-sort
...
cmd/outdated: restore sorting of formulae
2020-08-02 12:34:23 +01:00
Bo Anderson
97e05ae410
cmd/outdated: restore sorting of formulae
2020-08-02 00:51:42 +01:00
Bo Anderson
ab15c97c61
Fix dependents building from source when not requested
2020-08-02 00:46:17 +01:00
Michka Popoff
7348f3670a
Merge pull request #8176 from Rylan12/update-report-fix-args
...
update-report: fix args
2020-08-01 21:19:09 +02:00
Michka Popoff
fc4e784513
Merge pull request #8174 from Rylan12/deps-fix-args
...
deps: fix args
2020-08-01 21:17:44 +02:00
Rylan Polster
15cfb9a358
update-report: fix args
2020-08-01 13:33:42 -04:00
Rylan Polster
49678e585e
outdated: fix args
2020-08-01 13:20:35 -04:00
Rylan Polster
c9c258cbfb
deps: fix args
2020-08-01 12:52:37 -04:00
William Ma
72c672b814
Merge branch 'master' into integrate-uses
2020-08-01 12:12:09 -04:00
Rylan Polster
c494789d70
list: pass args properly
2020-08-01 10:56:21 -04:00
Markus Reiter
c61f4ce879
Pass args
correctly in brew tap
.
2020-07-31 19:34:22 +02:00
Markus Reiter
1d0ac5c6b3
Pass args
correctly in brew outdated
.
2020-07-31 19:34:22 +02:00
Markus Reiter
005e9dd5b3
Pass args
correctly in brew options
.
2020-07-31 19:24:13 +02:00
Markus Reiter
62a080d410
Pass args
correctly in brew gist-logs
.
2020-07-31 19:19:37 +02:00
Markus Reiter
0ac6939a91
Pass args
correctly in brew fetch
.
2020-07-31 19:14:25 +02:00
Markus Reiter
096377abf2
Pass args
correctly in brew deps
and brew uses
.
2020-07-31 19:10:45 +02:00
Markus Reiter
05aada4333
Fix flags for brew log
.
2020-07-31 17:46:54 +02:00
William Ma
e05538a7d9
Create DependenciesHelpers file, add tests
2020-07-31 11:35:45 -04:00
Markus Reiter
d4c2ffd705
Refactor CLI::Parser
.
2020-07-31 15:07:17 +02:00
William Ma
7be2b943cb
uses: Print cask uses
2020-07-30 12:59:01 -04:00
Mike McQuaid
17fb1b6dd8
cmd/deps: add missing require.
...
Fixes https://github.com/Homebrew/brew/pull/8126#issuecomment-666345260
2020-07-30 14:20:58 +01:00
Markus Reiter
8d97029b03
Merge pull request #8084 from reitermarkus/cli-parser
...
Refactor usage of global `Homebrew.args`.
2020-07-30 11:44:12 +02:00
Mike McQuaid
4888a677c7
Merge pull request #8126 from MLH-Fellowship/integrate-deps
...
deps: Print cask dependencies
2020-07-30 10:20:30 +01:00
Markus Reiter
6b0678e8ed
Remove args
from FormulaInstaller
.
2020-07-30 03:21:12 +02:00
Markus Reiter
05365b5542
Pass args
more explicitly in FormulaInstaller
.
2020-07-30 03:21:12 +02:00