Prompt for template variables values based on the available manifest
This commit is contained in:
@ -9,7 +9,7 @@ import (
|
||||
"strings"
|
||||
"text/template"
|
||||
|
||||
"gitlab.com/wpetit/scaffold/internal/fs"
|
||||
"forge.cadoles.com/wpetit/scaffold/internal/fs"
|
||||
"gopkg.in/src-d/go-billy.v4"
|
||||
|
||||
"github.com/Masterminds/sprig"
|
||||
@ -60,8 +60,6 @@ func CopyDir(vfs billy.Filesystem, baseDir string, dst string, opts *Option) err
|
||||
|
||||
dstPath := filepath.Join(dst, relSrcPath)
|
||||
|
||||
log.Printf("relSrcPath: %s, dstPath: %s", relSrcPath, dstPath)
|
||||
|
||||
if info.IsDir() {
|
||||
log.Printf("creating dir '%s'", dstPath)
|
||||
if err := os.MkdirAll(dstPath, 0755); err != nil {
|
||||
|
Reference in New Issue
Block a user