mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-07-17 06:16:47 -06:00
12 lines
313 B
Ruby
12 lines
313 B
Ruby
class Cask::CLI::Linkapps
|
|
def self.run(*args)
|
|
casks_to_link = args.empty? ? Cask.installed : args
|
|
casks_to_link.each do |cask_name|
|
|
Cask::AppLinker.new(Cask.load(cask_name)).link
|
|
end
|
|
end
|
|
|
|
def self.help
|
|
"makes a symlink from all cask-installed .app files into ~/Applications"
|
|
end
|
|
end
|