uhugo.checks

uhugo.checks.bin_folder() str[source]

Gives the path of the user bin folder if exists else a bin folder is created in the <user home>/bin

Returns:

bin location

uhugo.checks.get_latest_version_api(override_version: str | None = None) str[source]

Get the latest Hugo version

Parameters:

override_version – An override version of Hugo

Returns:

version number