summaryrefslogtreecommitdiffstats
path: root/ipalib/cli.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-10-30 02:20:28 -0600
committerJason Gerard DeRose <jderose@redhat.com>2008-10-30 02:20:28 -0600
commit6879140db790a23a8782f7200400f2b58a69f6a0 (patch)
tree9fb37ec6e2ccc109b06f35ab6151e8f2adba282d /ipalib/cli.py
parent2fee6a3e20169f12b837647f0f71d6f28937490f (diff)
downloadfreeipa-6879140db790a23a8782f7200400f2b58a69f6a0.tar.gz
freeipa-6879140db790a23a8782f7200400f2b58a69f6a0.tar.xz
freeipa-6879140db790a23a8782f7200400f2b58a69f6a0.zip
Added ipalib.plugins.f_misc with new 'context' Command; moved 'env' Command from cli to f_misc
Diffstat (limited to 'ipalib/cli.py')
-rw-r--r--ipalib/cli.py18
1 files changed, 0 insertions, 18 deletions
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,
-
)