diff --git a/cmd/project/create.go b/cmd/project/create.go index 5c4ecbb1..549b3e0b 100644 --- a/cmd/project/create.go +++ b/cmd/project/create.go @@ -231,7 +231,7 @@ func printCreateSuccess(ctx context.Context, clients *shared.ClientFactory, appP clients.IO.PrintInfo(ctx, false, "%s", style.Sectionf(style.TextSection{ Emoji: "clipboard", - Text: "Next steps to begin development", + Text: "Next Steps", Secondary: secondaryOutput, })) } diff --git a/cmd/project/init.go b/cmd/project/init.go index f8a80702..9f9d5f90 100644 --- a/cmd/project/init.go +++ b/cmd/project/init.go @@ -141,7 +141,7 @@ func printNextStepSection(ctx context.Context, clients *shared.ClientFactory, pr clients.IO.PrintInfo(ctx, false, "%s", style.Sectionf(style.TextSection{ Emoji: "clipboard", - Text: "Next steps to begin development", + Text: "Next Steps", Secondary: secondaryOutput, })) } diff --git a/cmd/project/init_test.go b/cmd/project/init_test.go index 4bec7d83..9f92eccc 100644 --- a/cmd/project/init_test.go +++ b/cmd/project/init_test.go @@ -61,14 +61,14 @@ func Test_Project_InitCommand(t *testing.T) { cm.IO.On("ConfirmPrompt", mock.Anything, app.LinkAppConfirmPromptText, mock.Anything).Return(false, nil) }, ExpectedStdoutOutputs: []string{ - "Project Initialization", // Assert section header - "App Link", // Assert section header - "Next steps to begin development", // Assert section header + "Project Initialization", // Assert section header + "App Link", // Assert section header + "Next Steps", // Assert section header }, ExpectedAsserts: func(t *testing.T, ctx context.Context, cm *shared.ClientsMock) { // Assert installing project dependencies output := cm.GetCombinedOutput() - require.Contains(t, output, "Installed project dependencies") + require.Contains(t, output, "Project Dependencies") require.Contains(t, output, "Added "+filepath.Join("project-name", ".slack")) require.Contains(t, output, "Added "+filepath.Join("project-name", ".slack", ".gitignore")) require.Contains(t, output, "Added "+filepath.Join("project-name", ".slack", "hooks.json")) @@ -148,9 +148,9 @@ func Test_Project_InitCommand(t *testing.T) { ).Return(api.GetAppStatusResult{}, nil) }, ExpectedStdoutOutputs: []string{ - "Project Initialization", // Assert section header - "App Link", // Assert section header - "Next steps to begin development", // Assert section header + "Project Initialization", // Assert section header + "App Link", // Assert section header + "Next Steps", // Assert section header }, ExpectedAsserts: func(t *testing.T, ctx context.Context, cm *shared.ClientsMock) { // Assert prompt to add existing apps was called diff --git a/internal/pkg/create/create.go b/internal/pkg/create/create.go index f737d985..a7e4ae47 100644 --- a/internal/pkg/create/create.go +++ b/internal/pkg/create/create.go @@ -126,7 +126,7 @@ func Create(ctx context.Context, clients *shared.ClientFactory, createArgs Creat ) clients.IO.PrintInfo(ctx, false, "\n%s", style.Sectionf(style.TextSection{ Emoji: "open_file_folder", - Text: "Created a new Slack project", + Text: "Project Create", Secondary: projectDetails, })) @@ -447,8 +447,8 @@ func InstallProjectDependencies( // Start the spinner spinnerText := fmt.Sprintf( - "Installing project dependencies %s", - style.Secondary("(this may take a few seconds)"), + "Project Dependencies %s", + style.Secondary("(installing... this may take a second)"), ) spinner := style.NewSpinner(clients.IO.WriteErr()) spinner.Update(spinnerText, "").Start() @@ -456,7 +456,7 @@ func InstallProjectDependencies( // Stop the spinner when the function returns defer func() { spinnerText = style.Sectionf(style.TextSection{ - Text: "Installed project dependencies", + Text: "Project Dependencies", Secondary: outputs, }) spinner.Update(spinnerText, "package").Stop()