mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 07:33:27 -06:00
client: add missing output params to client-side commands
Add output params for the otptoken-add-yubikey, vault-add, vault-mod, vault-archive and vault-retrieve commands. This fixes the commands not having any output in CLI. https://fedorahosted.org/freeipa/ticket/6182 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
parent
e9c1d21b9f
commit
20ee4a73e7
@ -106,6 +106,12 @@ class otptoken_add_yubikey(Command):
|
||||
for option in super(otptoken_add_yubikey, self).get_options():
|
||||
yield option
|
||||
|
||||
def get_output_params(self):
|
||||
for param in self.api.Command.otptoken_add.output_params():
|
||||
yield param
|
||||
for param in super(otptoken_add_yubikey, self).get_output_params():
|
||||
yield param
|
||||
|
||||
def _iter_output(self):
|
||||
return self.api.Command.otptoken_add.output()
|
||||
|
||||
|
@ -223,6 +223,12 @@ class vault_add(Local):
|
||||
for option in super(vault_add, self).get_options():
|
||||
yield option
|
||||
|
||||
def get_output_params(self):
|
||||
for param in self.api.Command.vault_add_internal.output_params():
|
||||
yield param
|
||||
for param in super(vault_add, self).get_output_params():
|
||||
yield param
|
||||
|
||||
def _iter_output(self):
|
||||
return self.api.Command.vault_add_internal.output()
|
||||
|
||||
@ -423,6 +429,12 @@ class vault_mod(Local):
|
||||
for option in super(vault_mod, self).get_options():
|
||||
yield option
|
||||
|
||||
def get_output_params(self):
|
||||
for param in self.api.Command.vault_mod_internal.output_params():
|
||||
yield param
|
||||
for param in super(vault_mod, self).get_output_params():
|
||||
yield param
|
||||
|
||||
def _iter_output(self):
|
||||
return self.api.Command.vault_mod_internal.output()
|
||||
|
||||
@ -607,6 +619,12 @@ class vault_archive(Local):
|
||||
for option in super(vault_archive, self).get_options():
|
||||
yield option
|
||||
|
||||
def get_output_params(self):
|
||||
for param in self.api.Command.vault_archive_internal.output_params():
|
||||
yield param
|
||||
for param in super(vault_archive, self).get_output_params():
|
||||
yield param
|
||||
|
||||
def _iter_output(self):
|
||||
return self.api.Command.vault_archive_internal.output()
|
||||
|
||||
@ -855,6 +873,12 @@ class vault_retrieve(Local):
|
||||
for option in super(vault_retrieve, self).get_options():
|
||||
yield option
|
||||
|
||||
def get_output_params(self):
|
||||
for param in self.api.Command.vault_retrieve_internal.output_params():
|
||||
yield param
|
||||
for param in super(vault_retrieve, self).get_output_params():
|
||||
yield param
|
||||
|
||||
def _iter_output(self):
|
||||
return self.api.Command.vault_retrieve_internal.output()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user