mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-07-17 14:26:45 -06:00
16 lines
314 B
Ruby
Executable file
16 lines
314 B
Ruby
Executable file
# brewcask-dumpcask
|
|
#
|
|
# A trivial `brew cask` external command, implemented in Ruby.
|
|
# Loads a Cask definition, then dumps it in YAML format.
|
|
# Example usage:
|
|
#
|
|
# brew cask dumpcask google-chrome
|
|
#
|
|
|
|
command_name = ARGV.shift
|
|
cask_name = ARGV.shift
|
|
|
|
cask = Cask.load(cask_name)
|
|
|
|
Cask.debug = true
|
|
cask.dumpcask
|