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
This commit is contained in:
Robert Basic 2018-01-29 16:21:42 +01:00 committed by Bjørn Erik Pedersen
parent b6f3f087aa
commit 2fa70c9344
7 changed files with 2 additions and 296 deletions

View file

@ -208,7 +208,6 @@ func AddCommands() {
HugoCmd.AddCommand(convertCmd)
HugoCmd.AddCommand(newCmd)
HugoCmd.AddCommand(listCmd)
HugoCmd.AddCommand(undraftCmd)
HugoCmd.AddCommand(importCmd)
HugoCmd.AddCommand(genCmd)