fn list(list_cmd: ListAccounts) -> Result<String, String>