command: Remove undraft command
authorRobert Basic <robertbasic.com@gmail.com>
Mon, 29 Jan 2018 15:21:42 +0000 (16:21 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 29 Jan 2018 15:56:35 +0000 (16:56 +0100)
commit2fa70c9344b231c9d999bbafdfa4acbf27ed9f6e
tree88e43156d7d9a71ef79dda463b84f37b8442d033
parentb6f3f087aadbab6118edcb39b5bc56032d6afd03
command: Remove undraft command

According to @bep, it is easier to undraft content by
editing manually the frontmatter of said content by
setting the draft flag to `false`, or removing it completely,
than to rely on the undraft command which is a source of
many bugs.

Fixes #4353
commands/hugo.go
commands/undraft.go [deleted file]
commands/undraft_test.go [deleted file]
docs/content/commands/hugo.md
docs/content/commands/hugo_undraft.md [deleted file]
docs/content/getting-started/usage.md
docs/content/hosting-and-deployment/deployment-with-wercker.md