pub fn init(command: InitCommand) -> Result<()>