#![deny(warnings)]
extern crate print_flat_tree as lib;
#[macro_use]
extern crate structopt;
use structopt::StructOpt;
#[derive(Debug, StructOpt)]
#[structopt(about = "Converts a flat-tree to a string")]
pub struct Options {
#[structopt(help = "For example '0 1 2 3 7 8 9 10'")]
pub tree: Vec<usize>,
}
fn main() {
let args = Options::from_args();
let tree_str = lib::fmt(&args.tree);
print!("{}", tree_str);
}