Eric Knibbe
4662678b3b
cmd+dev-cmd: adjust description line breaks
...
Use to distinguish additional notes from initial explanation and usage info
2023-09-11 02:29:21 -04:00
Douglas Eichelberger
24cf6076e8
brew style --fix
2023-04-24 20:42:39 -07:00
Douglas Eichelberger
d56e2884aa
Enable typing in cmd/
2023-03-06 15:01:08 -08:00
Branch Vincent
8db571e4b0
cmd/doctor: respect --quiet
2023-02-05 15:06:26 -08:00
Mike McQuaid
2d5eab2e1c
brew style --fix
2022-06-30 08:56:21 +01:00
Mike McQuaid
61976e0672
caskroom: add, use any_casks_installed?.
...
Add a new method for the two places we're checking if we have any
casks installed. This is much more performance and user friendly than
attempting to load every cask.
Fixes #13027
2022-03-30 17:25:00 +01:00
hyuraku
af68ceff88
repair Diagnostic::Checks#all
2021-06-22 20:57:09 +09:00
EricFromCanada
f5e1557154
use ofail to set Homebrew.failed
2021-01-26 15:36:43 -05:00
Rylan Polster
d1f3e39b7b
Update commands to generate usage banner
2021-01-18 21:20:11 -05:00
Rylan Polster
da811373d3
Add named_args DSL for commands
2021-01-13 17:09:42 -05:00
Mike McQuaid
9216d8abe6
rubocop-rails: make fixes.
2020-12-02 10:43:04 +00:00
Markus Reiter
da9289eff0
Add more type signatures.
2020-11-13 12:26:36 +01:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Mike McQuaid
3a91c37e66
Fix RuboCop checks.
2020-08-19 17:12:32 +01:00
Markus Reiter
d4c2ffd705
Refactor CLI::Parser
.
2020-07-31 15:07:17 +02:00
William Ma
447ea12d38
doctor: Move cask doctor checks to brew diagnostics
2020-07-10 10:36:59 -04:00
Mike McQuaid
a7fe0ed847
cmd: use more and cleanup new args APIs.
2020-03-05 09:40:15 +00:00
EricFromCanada
c246207ba0
cmd: updates for command descriptions
2019-12-13 15:24:00 -05:00
EricFromCanada
9bfd597991
Format debug messages with odebug
2019-12-02 11:33:19 -05:00
EricFromCanada
8a8359cdd4
manpages: sentence rewording for readability
...
Use active voice when applicable, better verbs & adjectives, preposition usage, proper tense, etc.
2019-08-20 09:05:45 -04:00
Mike McQuaid
c4f72312ce
Fixup brew style
failures.
2019-04-30 09:19:18 +01:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
Mike McQuaid
e40b171127
Rename cli_parser to cli/parser.
2019-04-17 22:16:50 +09:00
Mike McQuaid
ae7492f3b5
Remove "undocumented options" that are documented options.
2019-02-16 20:07:28 +00:00
Mike McQuaid
6cb7a00f2d
cmd: remove --help headers and tweak docs.
2019-01-30 21:39:28 +00:00
Gautham Goli
172aba4508
doctor: Use CLI::Parser to parse args
2018-10-24 16:51:23 +05:30
Markus Reiter
e9b9ea49a1
Update to RuboCop 0.59.1.
2018-09-17 03:45:59 +02:00
Mike McQuaid
7095738d1d
Remove config/doctor checks we no longer need
...
A bunch of these were needed before superenv, environment filtering or
on now long-unsupported versions of macOS.
2018-04-02 09:40:39 +01:00
EricFromCanada
1d2b4ed321
docs: add more missing option descriptions
...
and improve wording or formatting where necessary.
2018-02-01 16:06:17 -05:00
Mike McQuaid
5f471ee289
doctor: tell people not to file issues.
...
This stuff doesn't matter.
2017-12-11 15:27:18 +00:00
Markus Reiter
9bee9ca575
Use “squiggly” heredocs.
2017-10-18 14:39:09 +02:00
Markus Reiter
cafe149780
Merge pull request #1145 from reitermarkus/module-function
...
Use `module_function` for `Homebrew` module.
2016-10-04 10:31:49 +02:00
Markus Reiter
0ab750bf24
Use module_function
for commands.
2016-10-02 00:24:47 +02:00
Markus Reiter
75e8b59aad
Add Formatter
module.
2016-10-01 20:00:49 +02:00
Markus Reiter
6d8ee395fa
Refactor Tty.
2016-10-01 20:00:49 +02:00
Mike McQuaid
2405c3e205
doctor: remove outdated Homebrew check.
...
This is no longer relevant in the bright, new tagged future.
Fixes #1151 .
2016-09-26 12:13:18 +01:00
Mike McQuaid
c45e36ffde
cmd/doctor: fix Rubocop warnings.
2016-09-11 17:58:59 +01:00
Mike McQuaid
984ed836bd
doctor: print check on --debug.
2016-08-16 11:16:37 +01:00
Andrew Janke
a3b70d38a7
brew-audit: pull style checks in to main audit output
...
This collects all violations for each formula in a single place, instead
of doing `brew style` outputs for all formulae first, and then the other
audit checks.
Closes #112 .
Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-04-21 14:45:33 -04:00
Max Nordlund
fa1fd70a37
Add all the top level comments
2016-04-10 22:59:25 +02:00
Martin Afanasjew
bcedfe64e8
doctor: simplify handling of slow checks
...
Some (rather slow) checks should run after all other checks. Make that
more obvious by removing them from the sorted list of all checks and
then re-appending them to the resulting list. (Should be slightly more
efficient than the `<array>.reverse.uniq.reverse` incantation, though
that hardly matters given the cumulated run time of all the checks.)
Slightly extend the list after verifying what the slowest checks are for
various Homebrew installations (slowest check last).
Closes Homebrew/homebrew#47753 .
Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-01-09 18:52:41 +01:00
Baptiste Fontaine
0472b3f340
doctor: use respond_to? instead of NoMethodError
...
Closes Homebrew/homebrew#47715 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-05 17:51:54 +01:00
Baptiste Fontaine
9f1442db14
doctor: move code away from cmd/
...
Closes Homebrew/homebrew#47665 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-05 14:33:06 +01:00
Dominyk Tiller
dafa11af9a
doctor: add explicit anaconda warning
...
Closes Homebrew/homebrew#47540 .
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-01-04 17:22:53 +00:00
Dominyk Tiller
821dbab5f8
doctor: extend curl warning
2016-01-04 03:10:10 +00:00
Baptiste Fontaine
169b8fc039
Revert "minor perf improvements"
...
This reverts commit 16a2a8274a7808e63a6c78475e12a7c0ef5812ef.
2015-12-26 23:00:38 +01:00
Baptiste Fontaine
48681c3f3a
minor perf improvements
...
Closes Homebrew/homebrew#47224 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-26 22:58:26 +01:00
Joao Antunes
61a47a4c0f
doctor: check_access_usr_local mention Cocktail.
...
Added mention to Cocktail app cleanup/repair/optimizations, that has
some features that when run they restore the /usr/local directory to
the original 'not writable' state in OS X 10.11 .
Closes Homebrew/homebrew#47379 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-26 07:37:44 +00:00
Misty De Meo
a8476c0dbe
doctor: remove Xcode 7 on 10.10 warning
2015-12-07 13:17:43 -08:00
Xu Cheng
2f50d3a279
doctor: use installed_prefixes
2015-11-29 20:24:30 +08:00