tap: add --list-pinned
This commit is contained in:
parent
ac71386373
commit
d09d2690ca
@ -8,7 +8,9 @@ module Homebrew
|
|||||||
migrate_taps :force => true
|
migrate_taps :force => true
|
||||||
elsif ARGV.first == "--list-official"
|
elsif ARGV.first == "--list-official"
|
||||||
require "official_taps"
|
require "official_taps"
|
||||||
puts OFFICIAL_TAPS.map { |t| "homebrew/#{t}" } * "\n"
|
puts OFFICIAL_TAPS.map { |t| "homebrew/#{t}" }
|
||||||
|
elsif ARGV.first == "--list-pinned"
|
||||||
|
puts Tap.select(&:pinned?).map(&:name)
|
||||||
else
|
else
|
||||||
user, repo = tap_args
|
user, repo = tap_args
|
||||||
clone_target = ARGV.named[1]
|
clone_target = ARGV.named[1]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user