aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/tap-info.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/tap-info.rb')
-rw-r--r--Library/Homebrew/cmd/tap-info.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/tap-info.rb b/Library/Homebrew/cmd/tap-info.rb
index 683a2848d..178c344f9 100644
--- a/Library/Homebrew/cmd/tap-info.rb
+++ b/Library/Homebrew/cmd/tap-info.rb
@@ -1,3 +1,15 @@
+#: * `tap-info` <tap>:
+#: Display information about <tap>.
+#:
+#: * `tap-info` `--json=`<version> (`--installed`|<taps>):
+#: Print a JSON representation of <taps>. Currently the only accepted value
+#: for <version> is `v1`.
+#:
+#: Pass `--installed` to get information on installed taps.
+#:
+#: See the docs for examples of using the JSON:
+#: <https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Querying-Brew.md>
+
require "tap"
module Homebrew