Add force flag
authorSafonov Nikita <ns3777k@gmail.com>
Fri, 25 Sep 2015 21:39:46 +0000 (00:39 +0300)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 17 Oct 2015 11:58:43 +0000 (13:58 +0200)
commit5e97cf3020284859ddaba528801329a54cf95847
treecd186f99c06a75d58fb44478ad44c2eae7de4068
parent3a412543f617cf9fa460061aa5a33db43675c9f9
Add force flag

If flag is passed the site will be created inside non-empty folder
only if there are no existent folders or config with the same name
hugo creates.

Resolves: #1163
commands/new.go
commands/new_test.go