You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Standardized "Pipelines as Code" to "Pipelines-as-Code" in CLI command
descriptions.
- Corrected typos and grammatical errors in command help texts and flag
descriptions.
- Improved capitalization for proper nouns like "URI", "Kubernetes",
"Tekton", "HTTPS", and "Hub" in error messages and log outputs.
- Refined error messages for clarity when remote tasks or pipelines are
not found.
- Updated internal comments for better readability and grammar.
Co-authored-by: Gemini <gemini@google.com>
Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
Copy file name to clipboardExpand all lines: pkg/cmd/tknpac/bootstrap/bootstrap.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -71,12 +71,12 @@ const indexTmpl = `
71
71
`
72
72
73
73
varsuccessTmpl=fmt.Sprintf(`
74
-
<html><body>You have <span style=\"color: green\">successfully</span> created a new GitHub application, go back to the %s pac cli to finish the installation.</body></html>
74
+
<html><body>You have <span style=\"color: green\">successfully</span> created a new GitHub application. Return to the %s pac CLI to finish the installation.</body></html>
Long: `Create Pipelines-as-Code resources such as repositories, webhook configurations, and other related components. This command helps you set up and configure Pipelines-as-Code in your cluster.`,
fmt.Fprintf(o.IOStreams.ErrOut, "%s Not overwriting file, exiting...\n", cs.WarningIcon())
216
-
fmt.Fprintf(o.IOStreams.ErrOut, "%s Feel free to use the -f flag if you want to target another file name\n...", cs.InfoIcon())
215
+
fmt.Fprintf(o.IOStreams.ErrOut, "%s File not overwritten, exiting...\n", cs.WarningIcon())
216
+
fmt.Fprintf(o.IOStreams.ErrOut, "%s Use the -f flag to specify a different file name.\n", cs.InfoIcon())
217
217
}
218
218
} else {
219
-
fmt.Fprintf(o.IOStreams.Out, "%s There is already a file named: %s, skipping template generation, feel free to use \"%s pac generate\" command to generate sample template.\n", cs.InfoIcon(), relpath,
220
-
settings.TknBinaryName)
219
+
fmt.Fprintf(o.IOStreams.Out, "%s File %s already exists, skipping template generation. Use \"%s pac generate\" to generate a sample template.\n", cs.InfoIcon(), relpath, settings.TknBinaryName)
0 commit comments