unified get commands and basic error handling