Add the overwrite flag

This commit is contained in:
Roey Darwish Dror
2019-08-01 13:19:31 +03:00
parent 2c11c9b251
commit 7007706b67
2 changed files with 15 additions and 7 deletions

View File

@@ -59,6 +59,10 @@ pub struct CreateCommand {
requires = "path"
)]
pub image: Option<Byte>,
/// Overwrite existing image files. Use with caution
#[structopt(long = "overwrite")]
pub overwrite: bool,
}
#[derive(StructOpt)]