summaryrefslogtreecommitdiffstats
path: root/commands/hugo.go
diff options
context:
space:
mode:
authorRobert Basic <robertbasic.com@gmail.com>2018-01-29 16:21:42 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-01-29 16:56:35 +0100
commit2fa70c9344b231c9d999bbafdfa4acbf27ed9f6e (patch)
tree88e43156d7d9a71ef79dda463b84f37b8442d033 /commands/hugo.go
parentb6f3f087aadbab6118edcb39b5bc56032d6afd03 (diff)
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
Diffstat (limited to 'commands/hugo.go')
-rw-r--r--commands/hugo.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/commands/hugo.go b/commands/hugo.go
index d9af60712..ea7444554 100644
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -208,7 +208,6 @@ func AddCommands() {
HugoCmd.AddCommand(convertCmd)
HugoCmd.AddCommand(newCmd)
HugoCmd.AddCommand(listCmd)
- HugoCmd.AddCommand(undraftCmd)
HugoCmd.AddCommand(importCmd)
HugoCmd.AddCommand(genCmd)