Beispiel #1
0
def main():
    config_path = '{0}/configs/{1}'.format(os.path.dirname(resources.__file__),
                                           CONFIG_PATH)
    clash.dispatch(config_path)
Beispiel #2
0
def main():
    config_path = '{0}/configs/{1}'.format(os.path.dirname(resources.__file__),
                                           CONFIG_PATH)
    clash.dispatch(config_path)
Beispiel #3
0
def main():
    clash.dispatch(config_path=os.path.join(os.path.dirname(__file__),
                                            'blueprint',
                                            'clash.yaml'))
Beispiel #4
0
def main():
    config_path = sys.argv[1]
    config_path = '{0}/configs/{1}'.format(os.path.dirname(resources.__file__),
                                           config_path)
    sys.argv.pop(1)
    dispatch(config_path)
Beispiel #5
0
def main():
    clash.dispatch(config_path=os.path.join(os.path.dirname(__file__),
                                            'blueprint', 'clash.yaml'))
Beispiel #6
0
def main():
    config_path = sys.argv[1]
    config_path = '{0}/configs/{1}'.format(os.path.dirname(resources.__file__),
                                           config_path)
    sys.argv.pop(1)
    dispatch(config_path)