28 Commits

Author SHA1 Message Date
Nanda H Krishna
5ec685951e
commands: remove diy, add lc for livecheck 2021-07-14 21:55:38 +05:30
Rylan Polster
08b44afcdf
cli/parser: allow options to be hidden 2021-06-08 22:02:32 -04:00
Mike McQuaid
c6a9227e08
More official Homebrew taps
Make `brew alias`, `brew autoupdate` and `brew command-not-found-init`
official commands. This means we:
- make sure we don't break their style with `brew style` changes
- autotap them when you run the command and they aren't installed
- include them in the manpage
2021-04-23 13:43:55 +01:00
nandahkrishna
8e5451df2f
style: use parentheses for assignment in conditions 2021-02-12 18:33:37 +05:30
Mike McQuaid
d6957a3acb
Homebrew 3.0.0 deprecations/disables 2021-01-29 19:50:24 +00:00
Jonathan Chang
fdda2b3414 zsh: prevent autocompleting conflicting options 2021-01-27 14:54:39 +11:00
Rylan Polster
0c5edf4004
Cleanup description handling 2021-01-25 13:46:51 -05:00
Rylan Polster
3e8b91679d
completions: generate zsh completions 2021-01-25 13:46:51 -05:00
Rylan Polster
eebc161ea5 Incorporate suggestions from code review
Co-Authored-By: Seeker <meaningseeking@protonmail.com>
2021-01-15 00:13:30 -05:00
Rylan Polster
3af16832d9 Generate bash completions automatically 2021-01-15 00:03:28 -05:00
Mike McQuaid
b484f70572
Remove cask from man brew. 2020-11-25 09:37:21 +00:00
Markus Reiter
24ae318a3d Move type annotations into files. 2020-10-10 14:59:39 +02:00
Markus Reiter
c74d54411b Add tc alias for typecheck. 2020-10-09 16:45:13 +02:00
Markus Reiter
540fa4e84b Pass quiet when tapping external commands. 2020-09-09 21:49:22 +02:00
Markus Reiter
608760908f Document Commands. 2020-08-26 03:13:58 +02:00
Mike McQuaid
3a91c37e66
Fix RuboCop checks. 2020-08-19 17:12:32 +01:00
William Ma
de4f5c1095 commands: Fix code review comments 2020-07-22 22:47:42 -04:00
William Ma
92953aa8e8 commands: Add unstable commands to cask commands 2020-07-20 15:06:29 -04:00
William Ma
0b613d2fe3 commands: Deduplicate command print logic 2020-07-20 14:00:16 -04:00
William Ma
3bbffdd1d7 commands: Print cask commands 2020-07-20 13:18:09 -04:00
Markus Reiter
71171f9cb0 Use atomic_write instead of deleting and writing file. 2020-07-03 04:35:42 +02:00
Caleb Xu
a53c92bd7f Cache commands list for faster shell completions 2020-06-18 11:06:31 -04:00
Mike McQuaid
8b479ea77b
manpage: update external commands.
- add more detailed manpage section for external commands (more
  information moved from their READMEs)
- add `brew test-bot` to the manpage
2020-05-30 14:19:56 +01:00
Mike McQuaid
7a08691100
commands: helper for official external commands. 2020-03-11 12:17:25 +00:00
Mike McQuaid
8a9dcad2c7
Move more command handling logic to commands.rb. 2020-02-02 17:05:45 +01:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files. 2019-04-20 13:27:36 +09:00
Mike McQuaid
7a68b4a3f9 Refactor command handling code
Don’t rely on having external commands always present in the PATH in
order to find them. Instead, provide an accessory method to Tap so
they can be added and used when needed.

While we’re here, do some general refactoring and cleanup of the
command code in these places.
2017-11-05 15:37:57 +00:00
Mike McQuaid
0bb7fda143 commands: add commands module for path lookup. 2016-09-08 20:46:55 +01:00