mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
parent
efa11d3746
commit
830910d1f3
@ -24,6 +24,7 @@ Misc plugins
|
||||
import re
|
||||
from ipalib import api, LocalOrRemote, _, ngettext
|
||||
from ipalib.output import Output, summary
|
||||
from ipalib import Flag
|
||||
|
||||
# FIXME: We should not let env return anything in_server
|
||||
# when mode == 'production'. This would allow an attacker to see the
|
||||
@ -40,6 +41,16 @@ class env(LocalOrRemote):
|
||||
'variables*',
|
||||
)
|
||||
|
||||
takes_options = LocalOrRemote.takes_options + (
|
||||
Flag('all',
|
||||
cli_name='all',
|
||||
doc=_('retrieve all attributes'),
|
||||
exclude='webui',
|
||||
flags=['no_output'],
|
||||
default=True,
|
||||
),
|
||||
)
|
||||
|
||||
has_output = (
|
||||
Output('result',
|
||||
type=dict,
|
||||
|
Loading…
Reference in New Issue
Block a user