liboci_cli/spec.rs
1use std::path::PathBuf;
2
3use clap::Parser;
4
5/// Command generates a config.json
6#[derive(Parser, Debug)]
7pub struct Spec {
8 /// Set path to the root of the bundle directory
9 #[clap(long, short)]
10 pub bundle: Option<PathBuf>,
11
12 /// Generate a configuration for a rootless container
13 #[clap(long)]
14 pub rootless: bool,
15}