liboci_cli/
delete.rs

1use clap::Parser;
2
3/// Release any resources held by the container
4#[derive(Parser, Debug)]
5pub struct Delete {
6    #[clap(value_parser = clap::builder::NonEmptyStringValueParser::new(), required = true)]
7    pub container_id: String,
8    /// forces deletion of the container if it is still running (using SIGKILL)
9    #[clap(short, long)]
10    pub force: bool,
11}