blob: c6ba6f22fb2bfd137ec38eb79cd63584ef45cfcf [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//! `cmc` is the Component Manifest Compiler.
use cmc::{opts, run_cmc};
use structopt::StructOpt;
fn main() {
let opt = opts::Opt::from_args();
if let Err(e) = run_cmc(opt) {
println!("{e}");
std::process::exit(1);
}
}