23 Commits

Author SHA1 Message Date
Mike McQuaid
f65d525693
Deprecations/disables for 3.3.0/4.0.0.
Deprecate, disable and remove code for Homebrew 3.3.0 or 4.0.0
(whichever the next release ends up being).
2021-10-19 16:36:42 +01:00
Carlo Cabrera
ae788550f9
Show replacement command in odeprecated
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-07-20 09:39:51 +08:00
Carlo Cabrera
080bd8bd4a
dev-cmd/pr-publish: pass --autosquash by default
It's too easy to forget to, and the consequences of forgetting to pass
`--autosquash` are worse (i.e. almost always permanent) than forgetting
to pass `--no-autosquash` (i.e. just do `pr-publish --no-autosquash`
when your command fails).

See the discussion at Homebrew/homebrew-core#80717.
2021-07-18 05:33:35 +08:00
Mike McQuaid
2bd71ffb30
/dev-cmd/pr-publish: tweak wording.
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2021-05-19 11:36:59 +01:00
WingLim
ddcb0519b6 feat: add branch param 2021-05-19 18:06:21 +08:00
EricFromCanada
2ed324ebc0 use backticks around suggested input, flags, and binaries 2021-01-26 16:19:47 -05:00
Rylan Polster
d1f3e39b7b
Update commands to generate usage banner 2021-01-18 21:20:11 -05:00
Dawid Dziurla
cf654da251
dev-cmd: indicate multiple named args in usage banner 2021-01-15 13:04:07 +01:00
Rylan Polster
da811373d3 Add named_args DSL for commands 2021-01-13 17:09:42 -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
Jonathan Chang
8ac9608787 pr-publish: support dispatching with autosquash 2020-10-03 16:35:48 +10:00
Bo Anderson
fd24bcfc91 dev-cmd/pr-publish: fix --tap and --workflow 2020-08-02 00:56:29 +01:00
Markus Reiter
d4c2ffd705 Refactor CLI::Parser. 2020-07-31 15:07:17 +02:00
Dawid Dziurla
7d7b80774e
pr-publish: use workflow_dispatch trigger 2020-07-28 12:06:16 +02:00
Dawid Dziurla
a0bf5c9ead
pr-publish: check if url repo equals provided tap arg
Co-authored-by: Jonathan Chang <jchang641@gmail.com>
2020-07-27 20:07:21 +02:00
Dawid Dziurla
77a1bc22d7
dev-cmd/pr-*: allow to run on other taps too 2020-07-02 22:47:55 +02:00
EricFromCanada
9d6eb41fc5 cmd/dev-cmd: misc. usage and wording fixes 2020-04-19 13:31:54 -04:00
Dawid Dziurla
08309749d4
pr-*: only unique named args
also tweak usage to show that the commands accept multiple arguments
2020-04-12 12:13:53 +02:00
Bo Anderson
7787dde7b7 dev-cmd/pr-publish: fix undefined method error on invalid input 2020-04-09 01:36:49 +01:00
Dawid Dziurla
c563b9c6a2
pr-publish: make it work on linux too 2020-03-31 10:16:48 +02:00
Jonathan Chang
7c752e487f pr-publish: wording fixes 2020-03-24 12:31:58 +11:00
Jonathan Chang
86f245effb dev-cmd: new pr-publish command 2020-03-22 13:35:15 +11:00