Moved highlight_installed from utils.rb to search.rb
This commit is contained in:
parent
4472daec2f
commit
6162a5e41f
@ -53,6 +53,13 @@ module Hbc
|
||||
puts Formatter.columns(highlighted)
|
||||
end
|
||||
|
||||
def self.highlight_installed(token)
|
||||
if Hbc::Cask.new(token).installed?
|
||||
token = pretty_installed token
|
||||
end
|
||||
token
|
||||
end
|
||||
|
||||
def self.help
|
||||
"searches all known Casks"
|
||||
end
|
||||
|
||||
@ -36,13 +36,6 @@ def odebug(title, *sput)
|
||||
puts sput unless sput.empty?
|
||||
end
|
||||
|
||||
def highlight_installed(token)
|
||||
if Hbc::Cask.new(token).installed?
|
||||
token = pretty_installed token
|
||||
end
|
||||
token
|
||||
end
|
||||
|
||||
module Hbc
|
||||
module Utils
|
||||
def self.gain_permissions_remove(path, command: SystemCommand)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user