Remove rb-site's global site variable.
Review Request #11365 — Created Jan. 12, 2021 and submitted — Latest diff uploaded
This removes the global
site
variable from rb-site, which defines the
site that a command will operate on. Instead of managing this as a
global, it's now passed toCommand.run()
, which can store and operate
on that.This improves testability and cleans up the code.
Tested all commands thoroughly.