diff --git a/cobra/cmd/init.go b/cobra/cmd/init.go index 2537755..a6abd1c 100644 --- a/cobra/cmd/init.go +++ b/cobra/cmd/init.go @@ -47,6 +47,10 @@ Init will not use an existing directory with contents.`, er(err) } + // todo: + // if . use current directory + // else create named directory and set wd to that + project := &Project{ AbsolutePath: wd, PkgName: pkgName,