summaryrefslogtreecommitdiffstats
path: root/commands/convert.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/convert.go')
-rw-r--r--commands/convert.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/commands/convert.go b/commands/convert.go
index 202cc1111..fb70a148d 100644
--- a/commands/convert.go
+++ b/commands/convert.go
@@ -33,17 +33,18 @@ var (
)
type convertCmd struct {
+ hugoBuilderCommon
+
outputDir string
unsafe bool
- *baseBuilderCmd
+ *baseCmd
}
func newConvertCmd() *convertCmd {
cc := &convertCmd{}
- // TODO(bep) cli refactor this is more than it had
- cc.baseBuilderCmd = newBuilderCmd(&cobra.Command{
+ cc.baseCmd = newBaseCmd(&cobra.Command{
Use: "convert",
Short: "Convert your content to different formats",
Long: `Convert your content (e.g. front matter) to different formats.