pub fn get_os_opts(sub_command_required: bool) -> Result<Opts, Error>
Get CLI options from command line arguments.
Errors if the command line arguments are invalid.