Class: Homebrew::DevCmd::UpdatePythonResources Private
- Inherits:
-
AbstractCommand
- Object
- AbstractCommand
- Homebrew::DevCmd::UpdatePythonResources
- Defined in:
- dev-cmd/update-python-resources.rb,
sorbet/rbi/dsl/homebrew/dev_cmd/update_python_resources.rbi
This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.
Defined Under Namespace
Classes: Args
Instance Method Summary collapse
- #args ⇒ Homebrew::DevCmd::UpdatePythonResources::Args private
- #run ⇒ void private
Methods inherited from AbstractCommand
command, command_name, dev_cmd?, #initialize, parser, ruby_cmd?
Constructor Details
This class inherits a constructor from Homebrew::AbstractCommand
Instance Method Details
#args ⇒ Homebrew::DevCmd::UpdatePythonResources::Args
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
10 |
# File 'sorbet/rbi/dsl/homebrew/dev_cmd/update_python_resources.rbi', line 10 def args; end |
#run ⇒ void
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
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 |