Skip to content

Commit dc080dd

Browse files
authored
fix: Use correct spec path in init command hint (#19096)
#### Summary Discovered by @pilvikala
1 parent aa7801f commit dc080dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/cmd/init.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ func initCmd(cmd *cobra.Command, args []string) (initCommandError error) {
346346
successful.Println("Sync spec file generated successfully!")
347347
fmt.Println()
348348
fmt.Println("Next steps:")
349-
fmt.Println("1. Review the generated config file trello_to_postgresql.yaml and make sure to fill in all authentication details. Learn more about the plugins configuration at:")
349+
fmt.Printf("1. Review the generated config file %s and make sure to fill in all authentication details. Learn more about the plugins configuration at:\n", bold.Sprint(specPath))
350350
fmt.Printf(" %s: %s\n", bold.Sprint(sourcePlugin.DisplayName), linkForPlugin(sourcePlugin))
351351
fmt.Printf(" %s: %s\n", bold.Sprint(destinationPlugin.DisplayName), linkForPlugin(destinationPlugin))
352352
fmt.Println("2. Run the following command to start the sync:")
@@ -355,7 +355,7 @@ func initCmd(cmd *cobra.Command, args []string) (initCommandError error) {
355355
successful.Println("Sync spec file generated successfully!")
356356
fmt.Println()
357357
fmt.Println("Next steps:")
358-
fmt.Println("1. Review the generated config file trello_to_postgresql.yaml and make sure to fill in all authentication details. Learn more about the plugins configuration at:")
358+
fmt.Printf("1. Review the generated config file %s and make sure to fill in all authentication details. Learn more about the plugins configuration at:\n", bold.Sprint(specPath))
359359
fmt.Printf(" %s: %s\n", bold.Sprint(sourcePlugin.DisplayName), linkForPlugin(sourcePlugin))
360360
fmt.Printf(" %s: %s\n", bold.Sprint(destinationPlugin.DisplayName), linkForPlugin(destinationPlugin))
361361
fmt.Println("2. Run the following command to log in:")

0 commit comments

Comments
 (0)