Zhiming Wang
41efd59d2c
cmd/commands: always show developer commands
...
Per discussion in #900 .
Closes #900 .
2016-09-09 18:10:10 -04:00
Mike McQuaid
9514d1f8f5
commands: developer not development commands.
2016-09-08 20:46:55 +01:00
Mike McQuaid
4f6bae46f9
cmd/*: don't restrict dev-cmd to Homebrew developers.
2016-09-08 20:46:37 +01:00
Max Nordlund
fa1fd70a37
Add all the top level comments
2016-04-10 22:59:25 +02:00
Baptiste Fontaine
c1e673e19a
commands: support .sh commands
2016-01-20 22:27:13 +01:00
Xu Cheng
1248294c8c
commands: ensure internal commands are files
...
`Pathname#children(with_directory = false)` doesn't filter directories,
instead it returns path with basename.
Closes Homebrew/homebrew#45325 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-26 16:11:18 +08:00
Martin Afanasjew
21d804eeb8
commands: ensure external commands are executable
...
For consistency with `brew command` and the logic in `brew.sh` (both use
`which` to find/validate an external command), we need to filter files
that are not executable.
Otherwise `brew commands` and thus bash completion will offer commands
that will produce an error when attempting to use them.
Closes Homebrew/homebrew#44999 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-15 19:26:27 +01:00
Martin Afanasjew
366440b5bb
commands: sort external commands by name
...
Closes Homebrew/homebrew#44125 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-09-21 15:14:42 +01:00
Xu Cheng
c5bb388653
commands: better output
2015-09-12 19:24:41 +08:00
Xu Cheng
ce390b9bd9
add dev-cmd folder
2015-09-12 19:15:45 +08:00
Xu Cheng
ae0e270727
favor flat_map over map...flatten
2015-08-06 22:33:46 +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
a2d9d68591
commands: support list all commands without header
2015-07-11 00:07:29 +08:00
Mike McQuaid
57336ea68b
commands: move argument to fix warning.
2015-03-08 09:39:14 +00:00
Jack Nagel
10a1952d2c
Only "extend self" once on the Homebrew module
2014-06-19 13:10:36 -05:00
Adam Vandenberg
a126946a9b
move paths to utils
2013-09-17 06:44:25 -07:00
Adam Vandenberg
fa0872a42c
brew commands
...
Shows a list of built-in commands (but not shortcuts) and searches
for any external commands on the path.
Closes Homebrew/homebrew#22509 .
2013-09-17 06:44:25 -07:00