Skip to content

Commit c5d1076

Browse files
Help users get started after initializing
Update the output of `ghasum init` to include some next steps for what to do once ghasum is done initializing. This hopefully makes it clearer to users how to use `ghasum`. Also, it provides some guidelines for how to improve this command in the future - if (some of) these steps can automated it would be helpful for the user if they don't have to do it themselves.
1 parent caee8fb commit c5d1076

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cmd/ghasum/init.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,11 @@ func cmdInit(argv []string) error {
7575
return errors.Join(errUnexpected, err)
7676
}
7777

78-
fmt.Println("Ok")
78+
fmt.Println(`Ok
79+
80+
Next:
81+
1. Track .github/workflows/gha.sum with git.
82+
2. Integrate ghasum into the project's workflows.`)
7983
return nil
8084
}
8185

0 commit comments

Comments
 (0)