pub fn init(opts: InitOptions) -> Result<(), Box<dyn Error>>Expand description
Initialize an Oseda project with the provided options
This command will:
- Run
npm init - Install required dependencies (Vite, Reveal.js, etc)
- Write config and boilerplate files
§Arguments
_opts- command-line options (this is unused rn, used later I hope)
§Returns
Ok(())if project initialization is suceededErrif any step (npm, file write, config generation etc) fails