Created
July 12, 2011 15:37
-
-
Save mizzy/1078224 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import dotcloud.cli.cli as cli | |
import sys | |
from optparse import OptionParser | |
parser = OptionParser() | |
parser.add_option( | |
'--cmd', | |
dest='cmd', | |
) | |
parser.add_option( | |
'--internal', | |
action='store_true', | |
default=False, | |
) | |
( options, args ) = parser.parse_args(); | |
cli.hook___export(sys.argv) | |
cli.run_command(options.cmd.split(), options.internal) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment