We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bee444 commit d2206f0Copy full SHA for d2206f0
2 files changed
cmd/init.go
@@ -1,13 +1,18 @@
1
package cmd
2
3
import (
4
+ "fmt"
5
+
6
"github.com/RohitRavindra-dev/devlocal/internal/filesystem"
7
"github.com/spf13/cobra"
8
)
9
10
var initCmd = &cobra.Command{
11
Use: "init",
12
Short: "Initialize devlocal in this project workspace",
13
+ PreRun: func(cmd *cobra.Command, args []string) {
14
+ fmt.Println("[Started] to init devlocal for you, dw!")
15
+ },
16
RunE: func(cmd *cobra.Command, args []string) error {
17
return filesystem.InitilizeDevLocalFilesystem()
18
},
internal/filesystem/initialization.go
@@ -68,6 +68,8 @@ func InitilizeDevLocalFilesystem() error {
68
if err := seedYamlConfigFile(); err != nil {
69
return err
70
}
71
72
+ fmt.Println("[Completed] initializing devlocal setup for your repo")
73
return nil
74
75
0 commit comments