pub struct ProjectGenerator { /* private fields */ }Expand description
Generator for creating Bun projects
Implementations§
Source§impl ProjectGenerator
impl ProjectGenerator
Sourcepub fn new(config: ProjectConfig) -> Self
pub fn new(config: ProjectConfig) -> Self
Create a new project generator with the given configuration
Sourcepub fn check_bun_installed() -> Result<()>
pub fn check_bun_installed() -> Result<()>
Check if Bun is installed on the system
Sourcepub fn install_bun() -> Result<()>
pub fn install_bun() -> Result<()>
Install Bun using the official install script