Douglas Eichelberger
24cf6076e8
brew style --fix
2023-04-24 20:42:39 -07:00
Mike McQuaid
2d5eab2e1c
brew style --fix
2022-06-30 08:56:21 +01:00
Rylan Polster
d1f3e39b7b
Update commands to generate usage banner
2021-01-18 21:20:11 -05:00
Dawid Dziurla
332372469f
cmd: indicate multiple named args in usage banner
2021-01-15 13:04:00 +01:00
Rylan Polster
da811373d3
Add named_args DSL for commands
2021-01-13 17:09:42 -05:00
Markus Reiter
5be4c9b5e0
Upgrade typed
sigils.
2020-11-25 17:04:19 +01: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
William Ma
fa7bd3bff6
args: Migrate usage of args loading methods to args.named
2020-08-23 09:02:20 -04:00
Markus Reiter
d4c2ffd705
Refactor CLI::Parser
.
2020-07-31 15:07:17 +02:00
Mike McQuaid
a7fe0ed847
cmd: use more and cleanup new args APIs.
2020-03-05 09:40:15 +00:00
Gautham Goli
959b88266d
ARGV: Replace usages of ARGV.resolved_formulae with Homebrew.args
2020-01-02 13:56:19 +00:00
Gautham Goli
685a6b4da6
ARGV: Replace usages of ARGV.named with Homebrew.args.named
2019-12-18 20:38:21 +05:30
EricFromCanada
2f7c3afeb8
cmd: improve wording of messages, spacing
2019-12-15 00:04:45 -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
EricFromCanada
ee314617f7
manpages: update command usage strings
2019-08-20 08:55:54 -04:00
EricFromCanada
6520785307
manpages: grammar fixes
2019-08-20 08:26:26 -04:00
Jonathan Chang
7ddc185b35
Fix various typos
2019-08-19 16:12:34 +10: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
6cb7a00f2d
cmd: remove --help headers and tweak docs.
2019-01-30 21:39:28 +00:00
Gautham Goli
433a09d798
missing: Use CLI::Parser to parse args
2018-11-05 21:52:42 +05:30
Steven Peters
2adfb77cd8
missing: exit nonzero if missing deps are found
2018-04-12 22:48:02 -07:00
Dominyk Tiller
7b8ba77ed2
missing: pass explicit sort to handle APFS
2017-10-14 06:18:09 +01:00
Alyssa Ross
702345ee67
docs: fix typo for brew missing
2016-10-30 16:30:40 +00:00
Alyssa Ross
aff5f42c58
missing: document --hide
2016-10-25 22:36:13 +01:00
Alyssa Ross
c4c855b9fc
ARGV: extract #values from missing
2016-10-25 22:36:13 +01:00
Alyssa Ross
422f38b945
missing: call Formula#missing_dependencies directly
2016-10-25 22:36:13 +01:00
ilovezfs
7fa4ffe3dc
missing: allow hiding specified formulae
2016-10-25 22:34:35 +01:00
Mike McQuaid
1f963267b6
Update Rubocop style.
...
Another look at the current Rubocop rules and how they fit with our
existing and desired future style. Almost all of these changes were
automatic. Split some rules between formulae/brew where brew doesn't
have millions of cases that need fixed.
2016-10-22 13:32:46 +01:00
Markus Reiter
0ab750bf24
Use module_function
for commands.
2016-10-02 00:24:47 +02:00
Mike McQuaid
ae43b79ca2
cmd/missing: fix Rubocop warnings.
2016-09-11 17:59:00 +01:00
Martin Afanasjew
823505a058
Fix minor issues in command help text formatting
...
- Inconsistent or unneeded indentation
- Missing or superfluous empty lines
- Missing or wrongly formatted arguments in command summary
- Missing punctuation
2016-08-17 01:25:51 +02:00
Max Nordlund
fa1fd70a37
Add all the top level comments
2016-04-10 22:59:25 +02: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
Xu Cheng
aaa945be68
missing: use installed_prefixes
2015-11-29 20:24:30 +08:00
BrewTestBot
13d544e11e
Core files style updates.
...
Closes Homebrew/homebrew#42354 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 13:22:35 +01:00
Xu Cheng
8ff4f46e0c
missing: use Formula#full_name
2015-05-29 17:02:22 +08:00
Xu Cheng
da7d3c18ed
missing: use ARGV.resolved_formulae
2015-05-27 13:53:41 +08:00
Jack Nagel
285f8f77e6
Tab#with? accepts the same types as BuildOptions#with?
2014-10-09 00:20:15 -05:00
Jack Nagel
10a1952d2c
Only "extend self" once on the Homebrew module
2014-06-19 13:10:36 -05:00
Jack Nagel
fe802f05ef
missing: ignore unused optional and recommended deps
2013-01-26 12:14:48 -06:00
Jack Nagel
d95f467362
Refactor brew missing
...
The heuristic for determining whether something is installed changes
from "f.installed?" to "f.rack.exist? and f.rack.subdirs.length > 0" in
order to properly consider outdated formulae.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-18 11:25:59 -05:00
Adam Vandenberg
ec4b34aa08
Fix doctor's use of missing.
...
`brew doctor` shelled to `brew missing` and parsed the results.
When VERBOSE was true, this caused an error as extra, unexpected
output is generated.
Make missing an internal command, and give it a programmatic interface.
2012-06-12 20:03:26 -07:00