#!/usr/bin/env python

import argparse
import ribbon.build

def main():
    parser = argparse.ArgumentParser(description='Ribbon: a tool for cross platform package builds')
    parser.add_argument('path', nargs=1, help='Path to yaml config file describing build')
    parser.add_argument('-d', '--debug', action='store_true', help='Enable debug output')
    parser.add_argument('-n', '--noop', action='store_true', help='Enable noop mode')
    args = parser.parse_args()
    ribbon.build.build(args)

if __name__ == '__main__':
    main()
