feat!: remove containerfile arg since we use compiled time templates

This commit is contained in:
Gerald Pinder 2024-01-13 22:19:15 -05:00
parent 0611cea4f5
commit 754b4516e7
2 changed files with 0 additions and 11 deletions

View file

@ -23,11 +23,6 @@ pub struct BuildCommand {
#[arg()]
recipe: PathBuf,
/// Optional Containerfile to use as a template
#[arg(short, long)]
#[builder(default, setter(into))]
containerfile: Option<PathBuf>,
/// Rebase your current OS onto the image
/// being built.
///
@ -109,7 +104,6 @@ impl BuildCommand {
TemplateCommand::builder()
.recipe(self.recipe.clone())
.containerfile(self.containerfile.clone())
.output(PathBuf::from("Containerfile"))
.build()
.try_run()?;

View file

@ -146,11 +146,6 @@ pub struct TemplateCommand {
#[arg()]
recipe: PathBuf,
/// Optional Containerfile to use as a template
#[arg(short, long)]
#[builder(default, setter(into))]
containerfile: Option<PathBuf>,
/// File to output to instead of STDOUT
#[arg(short, long)]
#[builder(default, setter(into))]