Skip to content
Snippets Groups Projects
Commit fcdda8d4 authored by EricFromCanada's avatar EricFromCanada
Browse files

commands: add formatting to headings

parent 1c9e30e2
No related branches found
No related tags found
No related merge requests found
......@@ -35,21 +35,18 @@ module Homebrew
end
# Find commands in Homebrew/cmd
puts "Built-in commands"
puts Formatter.columns(internal_commands.sort)
ohai "Built-in commands", Formatter.columns(internal_commands.sort)
# Find commands in Homebrew/dev-cmd
puts
puts "Built-in developer commands"
puts Formatter.columns(internal_developer_commands.sort)
ohai "Built-in developer commands", Formatter.columns(internal_developer_commands.sort)
exts = external_commands
return if exts.empty?
# Find commands in the PATH
puts
puts "External commands"
puts Formatter.columns(exts)
ohai "External commands", Formatter.columns(exts)
end
def internal_commands
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment