Skip to main content

liboci_cli/
delete.rs

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