Beispiel #1
0
 def _cgcloud( cls, *args ):
     log.info( 'Running %r', args )
     if os.environ.get( 'CGCLOUD_TEST_EXEC', "" ):
         check_call( concat( 'cgcloud', args ) )
     else:
         main( args )
Beispiel #2
0
#!/usr/bin/env python2.7

import os

import sys

sys.path.append(os.path.join(os.path.dirname(__file__), "src"))

from cgcloud.core.cli import main

if __name__ == "__main__":
    main()
Beispiel #3
0
 def _cgcloud(cls, *args):
     log.info('Running %r', args)
     if os.environ.get('CGCLOUD_TEST_EXEC', ""):
         subprocess32.check_call(concat('cgcloud', args))
     else:
         main(args)