Remove rb-site's global options variable.

Review Request #11364 — Created Jan. 8, 2021 and submitted

chipx86
Review Board
release-4.0.x
reviewboard

This removes the global options variable from rb-site, making it
easier to test commands, and preparing for some work toward redoing the
argument parsing.

parse_options() now returns the calculated options, and
Command.run() takes it as an argument. These were the only places that
made use of the global variable previously.

Ran all commands successfully.

Summary
Remove rb-site's global options variable.
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-4.0.x (e184da1)
Loading...