The end user would be prompted if a file is going to be overwritten,
but homemaker would still attempt to do so no matter the answer.
Move the retry-functionality of cleanPath inside this function so that
the function itself can return a boolean to indicate if the calling task
is free to continue. If the path is not clean then homemaker can just
move on to the next file or next task.
This created a template with two entries within it; using
template.Execute would execute an empty template when you attempted to
use templates within a sub-directory
This commit switches indentation to tabs, rather than spaces, removes an
unnecessary conditional check and adopts the project naming convention.
It also updates the documentation to reflect the changes it creates.
Two new fields were added to the config. Precmds runs before cmds and
links. Postcmds runs after cmds and links. Cmds is no longer necessary
but was left in for compatibility.
It's very pedantic, but I replaced 'due' with 'do'.
> The idiom meaning to manage to get along with the means available is make do, not make due. Make do is short for make [something] do well enough, where do carries the rare sense to serve a specified purpose. So this do is similar to the one used in sentences such as, “I could use a cup of coffee, but tea will do.” (http://grammarist.com/usage/make-do-make-due/)