Douglas Eichelberger
f4c9a96c70
Enable types in dev-cmd
2023-03-14 08:32:03 -07:00
Wes Higbee
0b7d22a201
inlucde treat as --cask(s)/--formula(e) args in suggestion
2023-03-08 18:53:20 -06:00
Wes Higbee
66c268b190
rearrange output to easily copy command suggestion
2023-03-06 13:43:28 -06:00
Wes Higbee
12d93c480f
include formula/cask args in brew info --github suggestion
2023-03-06 13:34:05 -06:00
Wes Higbee
1e95de4757
split up suggestions
2023-03-06 07:51:36 -06:00
Wes Higbee
ba7ffb2db8
mention alternative in brew cat failure message
2023-03-06 07:44:27 -06:00
Mike McQuaid
d6ba3878ab
dev-cmd/cat: improve error message.
...
Fixes #14815 .
Co-authored-by: Adrian Ho <the.gromgit@gmail.com>
2023-02-27 17:34:29 +00:00
Carlo Cabrera
2a3b4e4cfd
dev-cmd/cat: accept multiple formula/cask arguments
...
"cat" is short for "concatenate" (and not "dump to stdout"), so it seems
a little silly for `brew cat` to not be able to concatenate
formulae/casks.
Let's fix that.
2023-02-10 22:07:10 +08:00
Kid
721a27d68d
dev-cmd/cat: support setting bat theme via environment variable
2022-06-06 08:44:47 +08:00
XuehaiPan
9ef52080e3
utils: extract common word "for" in reason
2021-11-23 23:59:09 +08:00
XuehaiPan
d749173adc
utils: mark reason
as keyword argument in ensure_formula_installed!
2021-11-23 23:31:22 +08:00
XuehaiPan
3376479e95
utils: add method ensure_formula_installed!
2021-11-23 22:48:39 +08:00
XuehaiPan
c6719e5854
dev-cmd/cat: require "formula" only when necessary
2021-11-23 21:35:44 +08:00
XuehaiPan
687dbe5268
dev-cmd/cat: auto-install bat
when running brew cat ...
with HOMEBREW_BAT
set
2021-11-23 15:20:57 +08:00
EricFromCanada
2ae4f11963
reorder command flags
2021-01-26 15:36:44 -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
hyuraku
0a97cd18a5
set default args
2020-12-17 21:14:18 +09:00
hyuraku
7be216fcbe
change function name
2020-12-17 21:07:43 +09:00
hyuraku
d7f9bb6247
add function to define path
2020-12-17 21:07:43 +09:00
Markus Reiter
bc24128263
Support casks in brew cat
.
2020-11-19 16:01:10 +01:00
EricFromCanada
72bc057014
manpage: fixes for formatting
2020-11-16 08:02:50 -05: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
Daniel Bayley
e477a38958
[WIP] cat: Allow 'bat' to find existing configuration file
2020-05-20 16:51:36 +01:00
Mike McQuaid
85e65f6d9c
Move some cmd to dev-cmd.
...
None of these made sense as end-user commands.
2020-04-14 14:29:38 +01:00