From 6879140db790a23a8782f7200400f2b58a69f6a0 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Thu, 30 Oct 2008 02:20:28 -0600 Subject: Added ipalib.plugins.f_misc with new 'context' Command; moved 'env' Command from cli to f_misc --- ipalib/cli.py | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'ipalib/cli.py') diff --git a/ipalib/cli.py b/ipalib/cli.py index 39773d73..161ea1d8 100644 --- a/ipalib/cli.py +++ b/ipalib/cli.py @@ -97,22 +97,6 @@ class console(frontend.Application): ) -class env(frontend.Application): - """ - Show environment variables. - """ - - def run(self): - return tuple( - (key, self.api.env[key]) for key in self.api.env - ) - - def output_for_cli(self, ret): - for (key, value) in ret: - print '%s = %r' % (key, value) - - - class show_api(text_ui): 'Show attributes on dynamic API object' @@ -198,8 +182,6 @@ cli_application_commands = ( console, show_api, plugins, - env, - ) -- cgit