pub fn init(opts: &InitOptions, config: &Config) -> Result<PathBuf, DiaryError>
Initialises the diary folder, if possible.
opts
config
Either the Path of the new diary folder or a DiaryError if there was an issue with initialisation.