Move link to next line since it is long

This commit is contained in:
Sam Coe 2021-08-19 16:06:35 -07:00
parent d22286a8e8
commit 7f0e09c13f
No known key found for this signature in database
GPG key ID: 8E322C20F811D086
2 changed files with 4 additions and 2 deletions

View file

@ -167,7 +167,8 @@ func NewCmdExtension(f *cmdutil.Factory) *cobra.Command {
Publish to GitHub with: gh repo create %[2]s
For more information on writing extensions: %[3]s
For more information on writing extensions:
%[3]s
`, cs.SuccessIcon(), extName, link)
fmt.Fprint(io.Out, out)
}

View file

@ -187,7 +187,8 @@ func TestNewCmdExtension(t *testing.T) {
Publish to GitHub with: gh repo create gh-test
For more information on writing extensions: https://docs.github.com/github-cli/github-cli/creating-github-cli-extensions
For more information on writing extensions:
https://docs.github.com/github-cli/github-cli/creating-github-cli-extensions
`),
},
{