From 4361cd02422d8a6b30d67bb6869af9c67f7ec9c0 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Thu, 20 Jan 2011 15:07:43 -0500 Subject: Rename INTERNAL to NO_CLI for commands we hide from the cli. Also make i18n_messages and json_metadata NO_CLI. ticket 821 --- ipalib/plugins/internal.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ipalib/plugins/internal.py') diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py index 89b2b4dd1..215131f07 100644 --- a/ipalib/plugins/internal.py +++ b/ipalib/plugins/internal.py @@ -35,7 +35,7 @@ class json_metadata(Command): """ Export plugin meta-data for the webUI. """ - INTERNAL = False + NO_CLI = True takes_args = ( @@ -74,6 +74,8 @@ class json_metadata(Command): api.register(json_metadata) class i18n_messages(Command): + NO_CLI = True + messages={ "login": {"header" :_("Logged In As")}, "button":{ -- cgit