diff options
Diffstat (limited to 'cmd/build.go')
| -rw-r--r-- | cmd/build.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/build.go b/cmd/build.go index 3877721..298a17b 100644 --- a/cmd/build.go +++ b/cmd/build.go @@ -6,11 +6,16 @@ import ( "os" "github.com/HimanshuSardana/kite/internal/build" + "github.com/HimanshuSardana/kite/pkg/config" ) func runBuild(args []string) { themeName := DefaultTheme + if cfg, err := config.Load("config.yaml"); err == nil && cfg.DefaultTheme != "" { + themeName = cfg.DefaultTheme + } + if len(args) > 2 { themeName = args[2] } |
