jubako 0.4.0

The reference implementation of the Jubako container format
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use jubako as jbk;

use clap::Parser;
use std::path::PathBuf;

#[derive(Parser, Debug)]
pub struct Options {
    #[clap(value_parser)]
    infiles: Vec<PathBuf>,

    // Out file
    #[clap(short, long, value_parser)]
    outfile: jbk::Utf8PathBuf,
}

pub fn run(options: Options) -> jbk::Result<()> {
    jbk::tools::concat(&options.infiles, options.outfile)
}