Class: GithubReplace
- Inherits:
-
Object
- Object
- GithubReplace
- Defined in:
- lib/renuo/cli/app/github_replace.rb
Instance Method Summary collapse
Instance Method Details
#run(args, opts) ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/renuo/cli/app/github_replace.rb', line 4 def run(args, opts) validate_arguments args opts opts.projects.split(",").each do |repo| base = clone_and_checkout repo find_and_replace args, repo, opts.files.split(",") create_pr opts, repo, base end end |