Started reworking CLI class into cli plugin

This commit is contained in:
Jason Gerard DeRose
2009-01-27 16:28:50 -07:00
committed by Rob Crittenden
parent 9efda29d60
commit db0168f7af
7 changed files with 231 additions and 41 deletions

6
ipa
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)