diff --git a/src/commands/build.rs b/src/commands/build.rs index dd262b8..c738019 100644 --- a/src/commands/build.rs +++ b/src/commands/build.rs @@ -82,15 +82,6 @@ pub struct BuildCommand { #[builder(default)] retry_count: u8, - /// Allow `bluebuild` to overwrite an existing - /// Containerfile without confirmation. - /// - /// This is not needed if the Containerfile is in - /// .gitignore or has already been built by `bluebuild`. - #[arg(short, long)] - #[builder(default)] - force: bool, - /// Archives the built image into a tarfile /// in the specified directory. #[arg(short, long)] diff --git a/src/commands/local.rs b/src/commands/local.rs index 62bb659..42f5724 100644 --- a/src/commands/local.rs +++ b/src/commands/local.rs @@ -70,7 +70,6 @@ impl BlueBuildCommand for UpgradeCommand { let mut build = build .archive(LOCAL_BUILD) .drivers(self.common.drivers) - .force(self.common.force) .build(); let image_name = recipe.name.to_lowercase().replace('/', "_"); @@ -128,7 +127,6 @@ impl BlueBuildCommand for RebaseCommand { let mut build = build .archive(LOCAL_BUILD) .drivers(self.common.drivers) - .force(self.common.force) .build(); let image_name = recipe.name.to_lowercase().replace('/', "_"); diff --git a/src/commands/switch.rs b/src/commands/switch.rs index 204f46c..3b41e58 100644 --- a/src/commands/switch.rs +++ b/src/commands/switch.rs @@ -70,14 +70,12 @@ impl BlueBuildCommand for SwitchCommand { BuildCommand::builder() .recipe([self.recipe.clone()]) .archive(tempdir.path()) - .force(self.force) .build() .try_run()?; #[cfg(not(feature = "multi-recipe"))] BuildCommand::builder() .recipe(self.recipe.clone()) .archive(tempdir.path()) - .force(self.force) .build() .try_run()?;