20 lines
280 B
Python
20 lines
280 B
Python
# standard imports
|
|
import sys
|
|
import logging
|
|
|
|
# local imports
|
|
from cic.cmd import CmdCtrl
|
|
|
|
logging.basicConfig(level=logging.DEBUG)
|
|
logg = logging.getLogger()
|
|
|
|
|
|
ctrl = CmdCtrl(argv=sys.argv[1:], logger=logg)
|
|
|
|
def main():
|
|
ctrl.execute()
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|