diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-01-31 09:09:11 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-01-31 16:36:36 +0100 |
commit | 2bbc865f7bb713b2d0d2dbb02b90ae2621ad5367 (patch) | |
tree | cda2d88ec0079293780028d3f0fe699f839777e7 /commands/new.go | |
parent | 0792cfa9fae94a06a31e393a46fed3b1dd73b66a (diff) |
commands: Fix config environment handling
Fixes #6503
Fixes #6824
Diffstat (limited to 'commands/new.go')
-rw-r--r-- | commands/new.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/new.go b/commands/new.go index 4fc0d4ed4..576976e8e 100644 --- a/commands/new.go +++ b/commands/new.go @@ -55,8 +55,8 @@ Ensure you run this within the root directory of your site.`, cmd.Flags().StringVarP(&cc.contentType, "kind", "k", "", "content type to create") cmd.Flags().StringVar(&cc.contentEditor, "editor", "", "edit new content with this editor, if provided") - cmd.AddCommand(newNewSiteCmd().getCommand()) - cmd.AddCommand(newNewThemeCmd().getCommand()) + cmd.AddCommand(b.newNewSiteCmd().getCommand()) + cmd.AddCommand(b.newNewThemeCmd().getCommand()) cmd.RunE = cc.newContent |