Started reworking CLI class into cli plugin

This commit is contained in:
Jason Gerard DeRose authored and Rob Crittenden committed 2009-02-03 15:29:03 -05:00
1 parent 9efda29d60
commit db0168f7af
7 files changed
+231 -41

No files matched your search

+2 -4
View File
@@ -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)