Skip to content
This repository
tree: 399b0f052a
Fetching contributors…

Cannot retrieve contributors at this time

executable file 17 lines (14 sloc) 0.385 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/usr/bin/env python
"""
Main program to run just the splice portion of planet
"""

import os.path
import sys
from planet import publish, config

if __name__ == '__main__':

    if len(sys.argv) == 2 and os.path.isfile(sys.argv[1]):
        config.load(sys.argv[1])
        publish.publish(config)
    else:
        print "Usage:"
        print " python %s config.ini" % sys.argv[0]
Something went wrong with that request. Please try again.