Overriding Terraform variables using -var-file switch

Similar like in the Overriding Terraform variables using var switch - if we have dev.tfvars file with the following contents:

host_os = "osx"
We can override all values declared everywhere by using the -var-file switch:
$ terraform console -var-file=dev.tfvars
> var.host_os
"osx"