'Publishes the BOM using Halyard.
Assumes that Halyard is installed and correctly configured on the current
machine.'

def publish_bom(self, bom_path):

    result = run_quick('hal    admin    publish    bom    --color    false    --bom-path    {0}'.format(bom_path))
    if (result.returncode != 0):
        print "'hal    admin    publish    bom'    command    failed    with:    \n{0}\nexiting...".format(result.stdout)
        exit(result.returncode)
