use super::ReleaseName;
use super::shared::release_command;
use crate::backend::Command;
use crate::command::ChartRef;
use crate::release::Release;
release_command! {
Install, InstallBuilder, install_builder {
required {
name: ReleaseName,
}
collections {}
flags {
hide_notes: bool,
hide_secret: bool,
render_subchart_notes: bool,
replace: bool,
server_side: Option<bool>,
}
}
}
impl Install {
#[must_use]
pub fn new(name: ReleaseName, chart: ChartRef) -> Self {
Self::builder(name, chart).build()
}
}
impl Command for Install {
type Output = Release;
}