chore: expose formatExamples enterprise commands (#13304)

Exporting it allows enterprise functions to also use it.
This commit is contained in:
Steven Masley
2024-05-21 13:26:34 -05:00
committed by GitHub
parent c61b64be61
commit 0a86d6d176
14 changed files with 50 additions and 50 deletions

View File

@ -19,8 +19,8 @@ func (r *RootCmd) templateVersions() *serpent.Command {
Use: "versions",
Short: "Manage different versions of the specified template",
Aliases: []string{"version"},
Long: formatExamples(
example{
Long: FormatExamples(
Example{
Description: "List versions of a specific template",
Command: "coder templates versions list my-template",
},