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