Remove rb-site's global options variable.
Review Request #11364 — Created Jan. 8, 2021 and submitted — Latest diff uploaded
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 calculatedoptions
, 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.