pub fn flag(yes: bool, no: bool, name: &str) -> Result<Option<bool>>
Given a boolean flag pair (like --upgrade and --no-upgrade), resolve the value of the flag.
--upgrade
--no-upgrade