Method: Licensed::Sources::Cabal#package_dependencies_command

Defined in:
lib/licensed/sources/cabal.rb

#package_dependencies_command(id) ⇒ Object

Returns the output of running ‘ghc-pkg field depends` for a package id Optionally allows for interpreting the given id as an installed package id (`–ipid`)



110
111
112
113
# File 'lib/licensed/sources/cabal.rb', line 110

def package_dependencies_command(id)
  fields = %w(depends)
  ghc_pkg_field_command(id, fields, "--ipid")
end