use std::path::PathBuf;
use crate::backend::Command;
#[derive(Debug, Clone, PartialEq, Eq, bon::Builder)]
#[builder(on(PathBuf, into))]
pub struct Create {
#[builder(start_fn)]
pub name: PathBuf,
pub starter: Option<PathBuf>,
}
impl Create {
#[must_use]
pub fn new(name: impl Into<PathBuf>) -> Self {
Self::builder(name).build()
}
}
impl Command for Create {
type Output = PathBuf;
}