Class: Homebrew::DevCmd::UpdatePythonResources

Inherits:
AbstractCommand show all
Defined in:
dev-cmd/update-python-resources.rb

Instance Attribute Summary

Attributes inherited from AbstractCommand

#args

Instance Method Summary collapse

Methods inherited from AbstractCommand

command, command_name, #initialize, parser

Constructor Details

This class inherits a constructor from Homebrew::AbstractCommand

Instance Method Details

#runvoid

This method returns an undefined value.



37
38
39
40
41
42
43
44
45
46
47
48
49
50
# File 'dev-cmd/update-python-resources.rb', line 37

def run
  args.named.to_formulae.each do |formula|
    PyPI.update_python_resources! formula,
                                  version:                  args.version,
                                  package_name:             args.package_name,
                                  extra_packages:           args.extra_packages,
                                  exclude_packages:         args.exclude_packages,
                                  install_dependencies:     args.install_dependencies?,
                                  print_only:               args.print_only?,
                                  silent:                   args.silent?,
                                  verbose:                  args.verbose?,
                                  ignore_non_pypi_packages: args.ignore_non_pypi_packages?
  end
end