pub fn init(args: &InitCmd) -> Result<(), AppError>
Initialise an empty repository.
Creates the default EpochConfig, verifies that the target directory is empty, and writes the initial configuration and epoch data.
EpochConfig