liboci_cli/
spec.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::path::PathBuf;

use clap::Parser;

/// Command generates a config.json
#[derive(Parser, Debug)]
pub struct Spec {
    /// Set path to the root of the bundle directory
    #[clap(long, short)]
    pub bundle: Option<PathBuf>,

    /// Generate a configuration for a rootless container
    #[clap(long)]
    pub rootless: bool,
}