diff --git a/cmd/dagger/cmd/project/init.go b/cmd/dagger/cmd/project/init.go index 86ff36b5..40b2feda 100644 --- a/cmd/dagger/cmd/project/init.go +++ b/cmd/dagger/cmd/project/init.go @@ -41,6 +41,7 @@ var initCmd = &cobra.Command{ if err != nil { lg.Fatal().Err(err).Msg("failed to initialize project") } + fmt.Println("Project initialized! To install dagger packages, run `dagger project update`") }, } diff --git a/cmd/dagger/cmd/project/update.go b/cmd/dagger/cmd/project/update.go index a8cf39e3..d99dc6b9 100644 --- a/cmd/dagger/cmd/project/update.go +++ b/cmd/dagger/cmd/project/update.go @@ -1,6 +1,8 @@ package project import ( + "fmt" + "github.com/spf13/cobra" "github.com/spf13/viper" "go.dagger.io/dagger/cmd/dagger/cmd/common" @@ -35,6 +37,7 @@ var updateCmd = &cobra.Command{ if len(args) == 0 { lg.Debug().Msg("No package specified, updating all packages") pkg.Vendor(ctx, cueModPath) + fmt.Println("Project updated") return }