def req_api_key(self): if self.api_key is None: raise click.UsageError('"moniqueio --api-key" argument is not specified') return self.api_key