summaryrefslogtreecommitdiffstats
path: root/ipalib/frontend.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-01-20 15:07:43 -0500
committerRob Crittenden <rcritten@redhat.com>2011-01-21 13:56:02 -0500
commit4361cd02422d8a6b30d67bb6869af9c67f7ec9c0 (patch)
tree706f815f0ae0cbb68649397e0949599d6e035e96 /ipalib/frontend.py
parent35f2f1d72078d69ca82b68f4d52bc61f2d297dfc (diff)
downloadfreeipa-4361cd02422d8a6b30d67bb6869af9c67f7ec9c0.tar.gz
freeipa-4361cd02422d8a6b30d67bb6869af9c67f7ec9c0.tar.xz
freeipa-4361cd02422d8a6b30d67bb6869af9c67f7ec9c0.zip
Rename INTERNAL to NO_CLI for commands we hide from the cli.
Also make i18n_messages and json_metadata NO_CLI. ticket 821
Diffstat (limited to 'ipalib/frontend.py')
-rw-r--r--ipalib/frontend.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/frontend.py b/ipalib/frontend.py
index eeed3980..567edfd1 100644
--- a/ipalib/frontend.py
+++ b/ipalib/frontend.py
@@ -220,8 +220,8 @@ class HasParam(Plugin):
that consider arbitrary ``api.env`` values.
"""
# HasParam is the base class for most frontend plugins, that make it to users
- # This flag should be used by UI components to make the plugin unaccessible
- INTERNAL = False
+ # This flag indicates that the command should not be available in the cli
+ NO_CLI = False
def _get_param_iterable(self, name, verb='takes'):
"""