Skip to content

Commit c78d39a

Browse files
committed
STAC-22599: Update the next steps
1 parent ce3149a commit c78d39a

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

‎cmd/stackpack/stackpack_scaffold.go‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package stackpack
33
import (
44
"fmt"
55
"os"
6+
"path/filepath"
67
"regexp"
78
"strings"
89

@@ -186,9 +187,7 @@ func validateStackpackName(name string) error {
186187
func displayNextSteps(cli *di.Deps, args *ScaffoldArgs) {
187188
cli.Printer.PrintLn("Next steps:")
188189
cli.Printer.PrintLn("1. Review the generated files in: " + args.DestinationDir)
189-
cli.Printer.PrintLn("2. Customize the stackpack configuration as needed")
190-
cli.Printer.PrintLn("3. Build your stackpack locally")
191-
cli.Printer.PrintLn("...")
190+
cli.Printer.PrintLn(fmt.Sprintf("2. Check the %s for instructions on what to do next.", filepath.Join(args.DestinationDir, "README.md")))
192191
}
193192

194193
func defaultIfEmptyString(value, defaultValue string) string {

‎cmd/stackpack/stackpack_scaffold_test.go‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,8 +554,7 @@ func TestDisplayNextSteps(t *testing.T) {
554554
assert.Contains(t, allOutput, "Next steps")
555555
assert.Contains(t, allOutput, args.DestinationDir)
556556
assert.Contains(t, allOutput, "Review the generated files")
557-
assert.Contains(t, allOutput, "Customize the stackpack")
558-
assert.Contains(t, allOutput, "Build your stackpack")
557+
assert.Contains(t, allOutput, "for instructions on what to do next")
559558
}
560559

561560
func TestStackpackScaffoldCommand_DisplayNameFallback(t *testing.T) {

0 commit comments

Comments
 (0)