summaryrefslogtreecommitdiffstats
path: root/ipa
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2009-01-27 16:28:50 -0700
committerRob Crittenden <rcritten@redhat.com>2009-02-03 15:29:03 -0500
commitdb0168f7afdac55eb7e0488cdc05e7a77a25672d (patch)
tree5413f862a79ae8c8589f1bb1d00feb565309760d /ipa
parent9efda29d60ae83d17bce793e0a23e3ec43c67f80 (diff)
downloadfreeipa-db0168f7afdac55eb7e0488cdc05e7a77a25672d.tar.gz
freeipa-db0168f7afdac55eb7e0488cdc05e7a77a25672d.tar.xz
freeipa-db0168f7afdac55eb7e0488cdc05e7a77a25672d.zip
Started reworking CLI class into cli plugin
Diffstat (limited to 'ipa')
-rwxr-xr-xipa6
1 files changed, 2 insertions, 4 deletions
diff --git a/ipa b/ipa
index d06abe37a..9260391ef 100755
--- a/ipa
+++ b/ipa
@@ -26,9 +26,7 @@ The CLI functionality is implemented in ipalib/cli.py
"""
import sys
-from ipalib import api
-from ipalib.cli import CLI
+from ipalib import api, cli
if __name__ == '__main__':
- cli = CLI(api, sys.argv[1:])
- sys.exit(cli.run())
+ cli.run(api)